Insert multiple data from your database using While Loop in PHP and MySQL PHP Script
Hi sourcecodester, Do you wish to insert multiple data to your database using While Loop? Will PHP and MySQL can do that. Just select the table you want to insert in another table then loop it using “While Loop”. And just define a variable you want to insert to another table and call it to your insertion query. Then run it to your web browser. The multiple data will automatically add to your table. As you can see below.
Hope it will help you especially for novice in Web Programming.
Please comment below. Thanks.