182x Posted July 14, 2007 Share Posted July 14, 2007 hey guys just wondering why the below syntax only works with some versions INSERT INTO test VALUES ('', 'J', 'j', 'a', 't', 'e'), VALUES ('', 'J', 'h', 'e, 't', 'f'); but sometimes it has to be the following. Is the short hand method wrong? INSERT INTO test VALUES ('', 'J', 'j', 'a', 't', 'e'); INSERT INTO test VALUES VALUES ('', 'J', 'h', 'e, 't', 'f'); Link to comment https://forums.phpfreaks.com/topic/59979-solved-inserting-data/ Share on other sites More sharing options...
Wildbug Posted July 14, 2007 Share Posted July 14, 2007 It should be: INSERT INTO test VALUES ('', 'J', 'j', 'a', 't', 'e'), ('', 'J', 'h', 'e, 't', 'f'); Link to comment https://forums.phpfreaks.com/topic/59979-solved-inserting-data/#findComment-298306 Share on other sites More sharing options...
182x Posted July 14, 2007 Author Share Posted July 14, 2007 My bad, thanks Link to comment https://forums.phpfreaks.com/topic/59979-solved-inserting-data/#findComment-298329 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.