Inserting multiple records from single form


Posted on 16th Feb 2014 07:03 pm by admin

I've found a number of threads that deal with this issue, but I'm new to php and coding language so I don't quite understand what they're talking about or what the code means.
Here's the situation: I have a form with 4 rows and the user will enter a unique record into each row. I would like each row to be entered into the database, but if the row is left empty then I obviously do not want an empty record entered into the database.

I've thought about each input being numbered (1name, 2name, 3name, 4name; 1 address, 2address...)
But in the threads I searched I came across things like array, mysql_fetch, and isset that might be helpful. I'm looking into what they do to see if they could help.

I will post some code once I get a nudge in the right direction.

No comments posted yet

Your Answer:

Login to answer
346 Like 11 Dislike
Previous forums Next forums
Other forums

update post issues
I am trying to create an update to a post function, while the update does occur, the page routing an

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Supress some serveroutput but not all
Hi,

I have a script I'm working on that uses plsql to create and RMAN script, this uses d

UDS 4.0 Datatype issue
UDS 4.0.322 -- connecting to NI Labview 9.0

When using connection method: Cache with live

mail() problem
Hi Guys,

I've set up a contact email form. It sends the information fine, but it sends it to

Limiting checkboxes?
Hi guys,

I have this code: Code: if(isset($_POST['selected'])) {
foreach($_POST['selec

FFmpeg Images 2 Video conversion problem ??
I got folder full of images , number of images = 600 , I want to make a video which plays one image

How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

dinamic "textboxes"?
Ey all, my first post here, i hope its not a hard one

I display mysql results in a table

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash