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. Quote 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 Quote 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.... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.