therealwesfoster Posted January 1, 2008 Share Posted January 1, 2008 Hey, I have a table structured like this: column1 column2 column3 column4 Can I do this: mysql_query(" INSERT INTO table (column2, column4) VALUES ('data1','data2') "); Or do i have to do this: mysql_query(" INSERT INTO table VALUES ('','data1','','data2') "); ? Thanks Link to comment https://forums.phpfreaks.com/topic/84023-solved-insert-out-of-order/ Share on other sites More sharing options...
Northern Flame Posted January 1, 2008 Share Posted January 1, 2008 yea u can do the first one Link to comment https://forums.phpfreaks.com/topic/84023-solved-insert-out-of-order/#findComment-427564 Share on other sites More sharing options...
therealwesfoster Posted January 1, 2008 Author Share Posted January 1, 2008 Sweet action.. thanks Link to comment https://forums.phpfreaks.com/topic/84023-solved-insert-out-of-order/#findComment-427567 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.