Re: mySQL syntax error?
Try
$field = $_POST['field'];
$field2 = $_POST[$field];
$qContent = sprintf("UPDATE content SET %s = '%s'", $field, $field2);
..................
And in the begin of the file, type : print_r($_POST), and look - what POST-query return, may be there are no such variables :)
Trust me! I'm the best! :)
Subject
Written By
Posted
Re: mySQL syntax error?
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.