PHP MYSQLI insert multiple rows in DB table

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP MYSQLI insert multiple rows in DB table

Postby sage12 » 28. September 2018 05:19

Seekin a way to insert multiple rows In a DB Table. The number of rows is not the same every time, but can vary every time.
The aim is to use a form that can accept the fields (column values) for each row.
Every attempt to find help was unsuccessfully.
sage12
 
Posts: 1
Joined: 28. September 2018 05:18
XAMPP version: 7.2.10
Operating System: window7

Re: PHP MYSQLI insert multiple rows in DB table

Postby Nobbie » 28. September 2018 14:19

Build a Form with a number of rows and some columns (just like you need), in your PHP Script you have to build a loop and insert row by row. Of course you need quite a good knowledge about HTML Forms, PHP and MySQL.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests