[thelist] php/mqSQL update format...
Tom Dell'Aringa
pixelmech at yahoo.com
Sat Aug 16 10:41:44 CDT 2003
Hi,
I think I have something wrong with my code to update my table as it
is not working. I feel I have left something out.. Here is my query
$ud = mysql_query("
UPDATE article SET articleTitle = '$aTitle' WHERE articleID =
'$aid'");
if (!$ud) { $msg = "Update Failed: " . mysql_error();}
else { //success }
This doesn't update my table...does the mysql_query() actually run
the query? ...
thanks
Tom
=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: Premium Content Author / JavaScript / Every Friday!
http://www.maccaws.com/ :: Group Leader
[Making A Commercial Case for Adopting Web Standards]
"That's not art, that's just annoying." -- Squidward
More information about the thelist
mailing list