Jump to content

[SOLVED] Something wrong with my syntax!?


bobleny

Recommended Posts

The above will work.  By the way, using reserved words as field names and being forced to use backticks all the time is not a very good practice.

 

Hmm... Could you explain?

I'm not sure what you mean by "reserved words".

I thought you where supposed to use "backticks"?

Using MySQL reserved words for table names or field names is a very bad practice.  Using backticks is a sloppy work-around for scripts where reserved words have been used for table names or field names.  Avoid the problem and the backticks by checking the list of MySQL reserved words ... in the manual.

 

http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html

 

Don't confuse those awful `backticks` with perfectly good 'quotes'.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.