delete statement problem
am 07.06.2006 23:49:50 von Ian DaviesI am using a simple delete statement in my php script (below)
$q = "DELETE FROM commenttype WHERE TypeID=".$_POST['selectcat'];
the problem is it doesnt delete the whole row it only deletes the text in
one of the fields of the row. Has anyone else had a similar problem?
It works when I run the sql directly from a program such as mysqlphp
ian