[thelist] mysql update problem

rudy r937 at interlog.com
Sun Mar 23 14:57:17 CST 2003


> UPDATE newspost SET postdate = '$postdate', posttitle = '$posttitle',
postbody
> = '$postbody', poststatus = '$poststatus' WHERE (postid = '$postid')

that looks okay, except for two things

is postid numeric

does any of the other fields contain a single quote


rudy



More information about the thelist mailing list