I want to add multiple record by using single php form. Same like as we insert Multiple records in phpmyadmin, when we insert click on insert tab it will show 2 or more than 2 section of entering data with single save button. How can we do this with single php Form submit.

Member Avatar for LastMitch

@aneeqtariq_143

I want to add multiple record by using single php form. Same like as we insert Multiple records in phpmyadmin, when we insert click on insert tab it will show 2 or more than 2 section of entering data with single save button. How can we do this with single php Form submit.

You need a form that multiple records? Then you need to create a form that has multiple slots to upload. Here is a link how create multiple uploads:

http://php.net/manual/en/features.file-upload.multiple.php

Regarding about submiting the records in the DB, then you need to create a table so it will insert the records.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.