Jump to content

PHP/Mysql DELETE with radio list


Lonig

Recommended Posts

Senario was not even MySQL related. Was a problem in my form.:)removing this because it would only confuse people new to mysql, as indeed, the mysql statement was valid.

Link to comment
Share on other sites

Check forms before thinking a simple delete statement is the guilty party.

$query  = "DELETE FROM table WHERE id=$id";	mysql_query($query) or die('Error : ' . mysql_error());

The above is correct. (or works, not sure if its still the preferred method or not)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...