Perad Posted May 6, 2008 Share Posted May 6, 2008 Query is "INSERT INTO `content` ( `id` , 'order', `location` , `content` , `page` , `publish` , `title` , `plugin` ) ..." I know it can be done. What speech marks do I need around the column order to convince mysql that its not a reserved word and is actually a column. Link to comment https://forums.phpfreaks.com/topic/104440-add-something-to-a-mysql-column-called-order/ Share on other sites More sharing options...
sasa Posted May 6, 2008 Share Posted May 6, 2008 ` like other of your fields Link to comment https://forums.phpfreaks.com/topic/104440-add-something-to-a-mysql-column-called-order/#findComment-534631 Share on other sites More sharing options...
rhodesa Posted May 6, 2008 Share Posted May 6, 2008 yeah, a backtick `, you have single quotes around it.... Link to comment https://forums.phpfreaks.com/topic/104440-add-something-to-a-mysql-column-called-order/#findComment-534642 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.