php - Is it possible to delete records using a MySQL resource? -


$res=mysql_query("select * table id>10"); 

i can delete associated records using $res ?

i mean not want make query delete * table id>10 in way $res can used data, , delete records.

note :: instead of clicking 'close' close question, consider understand question first, valid question , not posted before. :genius:

you can't. reason resource mysql_* php extension, , doesn't refer data, command, or on server. separate. mysql doesn't care or know how these things implemented on mysql client.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -