MySQL Forums
Forum List  »  PHP

Re: mySQL syntax error?
Posted by: Slava Divxak
Date: August 03, 2005 12:59AM

> $qContent="UPDATE content SET ".$_POST["field"]."
> = '".$_POST[$_POST["field"]]."'";

Here add
echo $qContent;
And look, what there
It seems, that there are no value $_POST[$_POST["field"]]

Then try manualy make query in console

Trust me! I'm the best! :)

Options: ReplyQuote

Written By
August 02, 2005 09:29PM
Re: mySQL syntax error?
August 03, 2005 12:59AM
August 03, 2005 10:17AM
August 04, 2005 12:31AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.