Lonig Posted November 14, 2008 Share Posted November 14, 2008 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 More sharing options...
Lonig Posted November 14, 2008 Author Share Posted November 14, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.