PDA

View Full Version : Add Mulitiple Rows to PHP


itnassol
06-29-2009, 10:01 AM
Hi Guys,

I am drawing a complete blank on this one, what I want to do is add mulitiple rows to a database.

The samples come in and are labeled 1234.001, 1234.002, 1234.003, etc etc.

The samples can be batches of 1 to 100 and anything in between, what I need to do is add the first number then the ammount of samples then the system will add the records into the database.

so for example, batch comes in with 5 samples and its number is 1234.001 and the system enters 5 rows one for each sample, so in the database you get 1234.001, 1234.002, etc.

any help to kick me off would be good.

Thanks

Andrew