Jump to content

need a little help


bob2006

Recommended Posts

i should know what the problem is but i dont so can someone look at this code and tell me why im getting this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from admin where username='' LIMIT 1' at line 1

 

if($_GET['del'] == "admin2") {
$drop=mysql_query(" DROP from admin where username='$usernam2' LIMIT 1 ")or die(mysql_error());
}else

 

thank you

Link to comment
https://forums.phpfreaks.com/topic/48592-need-a-little-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.