the tree
09-05-2005, 06:57 AM
Hey
I'm this is simple but I can't see what's up.'UPDATE `pages` SET `title`=\''.$_POST['title'].'\' `content`= \''.addslashes($_POST['content']).'\' WHERE `refer` = "'.$_POST['p'].'"'I'm getting this error message:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'content`= ' {{some of $_POST['content']}} 'Can any see what I'm doing wrong?
I'm this is simple but I can't see what's up.'UPDATE `pages` SET `title`=\''.$_POST['title'].'\' `content`= \''.addslashes($_POST['content']).'\' WHERE `refer` = "'.$_POST['p'].'"'I'm getting this error message:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'content`= ' {{some of $_POST['content']}} 'Can any see what I'm doing wrong?