从数据库中删除数据抛出表单操作删除

时间:2016-02-11 11:15:07

标签: php html

如果(isset($ _ POST [ '删除']))     {          $ delete =“DELETE * FROM project WHERE project_name = project_name”;              $ projectdelete_res = mysql_query($ delete);              $ projectdelete_userRow = mysql_fetch_array($ projectdelete_res);      }       “>      

1 个答案:

答案 0 :(得分:-1)

使用查询:

DELETE FROM project WHERE project_name='project_name'

希望这有帮助!