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

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -