june_c21 Posted January 22, 2008 Share Posted January 22, 2008 hi, how to insert multiple line (row) data into database with the same textfield name? Example : Text A Text B Text C Tex D Text E Text F Link to comment https://forums.phpfreaks.com/topic/87159-solved-insert-multiple-line/ Share on other sites More sharing options...
interpim Posted January 22, 2008 Share Posted January 22, 2008 databases just hold data... not formatted data... if you want it formatted then you need to either write code to do that, or add more fields to your table Link to comment https://forums.phpfreaks.com/topic/87159-solved-insert-multiple-line/#findComment-445806 Share on other sites More sharing options...
pdkv2 Posted January 22, 2008 Share Posted January 22, 2008 YOU CAN USE SQL LIKE THIS insert into table_name values('Text A' , 'Text B' , 'Text C'),('Tex D' , 'Text E' , 'Text F'); Regards Sharad Link to comment https://forums.phpfreaks.com/topic/87159-solved-insert-multiple-line/#findComment-445816 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.