Ron Borkent
|
| Posted: 04/07/2002, 10:50 AM |
|
Oke, here's the deal.
I want to create a form with fields from a table. I want the fields to be empty and want to see x amount of rows. Let's say a travel expense form like:
date, miles, from, to, travel description.
And I want ten empty rows on the form wich will be updated on submit...but only filled rows.
Making any sense?
Please help
|
|
|
 |
Alex Alexapolsky
|
| Posted: 04/08/2002, 4:26 AM |
|
HOPEFULLY THIS HELPS http://www.gotocode.com/art.asp?art_id=50
|
|
|
 |
Ron Borkent
|
| Posted: 04/08/2002, 6:27 AM |
|
I already use that solution for updating a grid that is filled with records from the database. The problem is that I want empty rows. So there are a couple of things that need to happen:
- the form must show a number of empty rows (i get to decide how many
- the row then gets filled by the user
- php needs to obtain the mysql_insert_id and generate primary key numbers for filled rows only
- excecute insert
With the updatable grid solution I could make all fields empty but then it would still be an update> I guess what i want is an insertable grid or a record form that shows x number of rows.
|
|
|
 |
|