MySQL Forums
Forum List  »  PHP

Re: UPDATE error
Posted by: Peter Brawley
Date: January 01, 2013 03:02AM

The data values are empty. Set field1=,field2=,... is illegal syntax. The page needs to run user input through mysql_real_escape_string(), validate it against whatever rules apply, and format it for the type of field it is intended for.



Edited 1 time(s). Last edit at 01/01/2013 03:03AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
December 31, 2012 04:51PM
Re: UPDATE error
January 01, 2013 03:02AM
January 08, 2013 05:32PM
January 08, 2013 07:41PM


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.