View Single Post
Old 01-13-2008, 05:52 PM   #7 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Quote:
Originally Posted by Gareth View Post
EDIT: It now says "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 'desc='n/a' , cat='1' , category='0' ' at line 5"
What daniel said :) As "desc" is a reserved SQL word you'll run into problems using it. I would recommend changing it to something else but if you really want to use it, wrap it in backticks (` - next to the 1 key :)).

Alan.
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote