[SOLVED]mysql_query(“DELETE FROM table WHERE id-'$id'”); fails

Binolfpiodo

New Member
I'm trying to delete a row from my mySQL database via PHP and it isn't working. I have tried the following:\[code\]mysql_query("DELETE FROM table WHERE id='$id'");mysql_query("DELETE FROM 'table' WHERE id='$id'");mysql_query("DELETE FROM `table` WHERE id=`$id`");\[/code\]$id is the unique identifier and I've echoed it to make sure it's coming across. Using "or die" results in death. The row simply won't go away.Any other syntax I should try?
 
Top