| Joe {RoastHorse} 2004-08-11, 7:15 pm |
| you can put anything in a session variable. using PHP you would add the
id with:
$_SESSION["mysql_id"] = mysql_insert_id();
though instead of updating your db tables page by page i would carry the
data from page to page in session vars or hidden fields then update all
the db tables on the last submit.
joe
mtarby wrote:
> I've got a two part application form I created in Dreamweaver. Once the user
> completes part 1, the infoinserts into a database table where I've got an
> auto-number applicant_id field.
>
> My question - I want the applicant_id to carry over to the next page and
> insert into the next database table.
>
> Since its an auto number field, can I use this as session variable, or does
> the session variable need to be a field from the form where the applicant
> enters information directly on the form?
>
|