Jump to content

[SOLVED] INSERT Out of Order


therealwesfoster

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.