在MySQL UPDATE查询中对字段名进行反对

时间:2013-09-04 23:39:25

标签: php mysql sql

Query without backticks.

Query with backticks

我不确定我是否应该使用反引号,因为ORDER是PHP中的保留字。

任何人都知道如何才能让它发挥作用?

CODE:

UPDATE models SET firstname='322', lastname='322', email='322', password='322', `group`='322', phone='322', timeofday='322', dayofweek='322', address='322', city='322', state='322', zip='322', gender='322', hair='322', eye='322', birthday='322', birthmonth='322', birthyear='322', bustshirt='322', cup='322', waist='322', hips='322', weight='322', inches='322', dressjacket='322', workxp='322', twitter='322', facebook='322', joindate='322', instagram='322', imdb='322', parentid='322', ethnicity='322', error='' WHERE id='322'

0 个答案:

没有答案