PHP数据内的怎么删除?请各位高见人事给予指导! 谢谢。。。。
<?php
mysql_pconnect("localhost", "mysql_user", "mysql_password") or
die ("Could not connect" . mysql_error());
mysql_select_db("mydb");
mysql_query("DELETE FROM mytable WHERE id < 10");
?>
å é¤MYTABLE表ä¸IDå°äº10çæ°æ®ï¼whereåè¾¹å¯ä»¥æ´æ¹ä½ è¦å é¤æ°æ®çæ¡ä»¶ã
mysql_pconnect("localhost", "mysql_user", "mysql_password") or
die ("Could not connect" . mysql_error());
mysql_select_db("mydb");
mysql_query("DELETE FROM mytable WHERE id < 10");
?>
å é¤MYTABLE表ä¸IDå°äº10çæ°æ®ï¼whereåè¾¹å¯ä»¥æ´æ¹ä½ è¦å é¤æ°æ®çæ¡ä»¶ã
温馨提示:答案为网友推荐,仅供参考