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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
therealwesfoster Posted January 1, 2008 Author Share Posted January 1, 2008 Sweet action.. thanks Quote Link to comment 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.