Re: mysql error...
| From: | Chris | Date: | Wed, 29 Aug 2007 01:52:48 +0000 |
| Subject: | Re: mysql error... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43959@lists.php.net to get a copy of this message | ||
John Pillion wrote:
this is bugging me to no end (no pun intended)... I am getting the error: invalid query: 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 'Condition, ConstructType, BldgDimensions, Stories, CurrentParking, MaxParking, P' at line 1 I cannot find a thing wrong with this... any ideas what may be the problem? All the data types are either int(11) or varchar(50)."condition" is a reserved word in mysql 5. http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html -- Postgresql & php tutorials http://www.designmagick.com/