Thread: query question
View Single Post
Old 04-21-2008, 05:39 PM   #3 (permalink)
freenity
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

backticks(`) must mark the field name and quotes (') must mark the data values(you don't need them on the install).
You can omit back ticks whenever your field names are not in conflict with mysql reserved words.
For example if you want to have a field called where you must write: `where` varchar(100) not null......
but if you write
where varchar(100).. it will throw an error.
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote