FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
MYSQL Update error
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=29793&th=6073#msg_29793
I'm getting an error while executing this code in PHP/MySQL
the error no is 1064.
I'm not able to figure out the error in it. Could anyone help me out in this regard
mysql_query("UPDATE articles SET article_title=".$_POST['t1']."where article_id".$_POST['ar']) or die(mysql_error().mysql_errno());// WHERE article_id =$a_id") or die(mysql_error().mysql_errno());
I'm uploaded the file for ur consideration.
thanks and regards
saikiran
]]>saikiran2006-01-16T14:57:01-00:00Re: MYSQL Update error
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=29817&th=6073#msg_29817
Ilia2006-01-17T19:35:32-00:00Re: MYSQL Update error
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=34255&th=6073#msg_34255
mysql_query("UPDATE articles SET article_title='". $_POST['t1'] ."' where article_id='".$_POST['ar'] ."') or die(mysql_error().mysql_errno());