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 Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/87159-solved-insert-multiple-line/#findComment-445816 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.