2016-02-11 42 views
-6

if(isset($ _ POST ['delete'])) { $ delete =「DELETE * FROM project WHERE project_name = project_name」; $ projectdelete_res = mysql_query($ delete); $ projectdelete_userRow = mysql_fetch_array($ projectdelete_res); } 「> 從數據庫中刪除數據throw form action delete

+2

請參見[問]和[完美提問](http://codeblog.jonskeet.uk!/2010/08/29/writing-the-perfect-question /) – Rizier123

+0

呵呵@Narendra Soni!這個問題是怎麼回事爲什麼要從資源中獲取#?它是一個完美的傻問題和代碼 –

回答

-1

使用查詢爲:

DELETE FROM project WHERE project_name='project_name' 

希望這有助於

+0

已經使用過查詢你已經指定 –

+0

oops它不起作用 –

+0

我的意思是說,從你的查詢中刪除*在你的查詢中有* –