I’m back! LOL….
Okay —
So.. I’ve created 2 pages with 2 forms.
[LIST][*]
tree-insert-step1.php
tree-insert-step2.php
Step 1 inserts all the data for the particular tree.. and Step 2 inserts all the sizes and prices for that tree. Both go in seperate tables — I’ve asked a question before pertaining to this, but I decided to go my original route..
Now.. right now on Step 2 I just have it pull the most recent tree inserted, so that it can use the tree’s id for the pricing…
Here’s the clincher though — what if users are creating a tree at the same time? Well then they’ll both be putting in pricing for the same tree..
BUT..
I’m not sure how to pass the ID variable.. since its at auto_increment in the database.. it doesn’t get a variable in a text box..
So is there a way to pull the ID.. so that at Step 2.. it’ll be the right tree.. even if multiple trees were made at the same time?