Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

[PHP-DB] simple database question From: Brian Weisenthal (bsw10 <email protected>)
Date: 07/26/01

ok this should be an easy one, i am just blanking on it here.

i want to link two tables together, a user table and address table. i create
the user entry first, then create the address entry. after creating the
address entry how do i get the auto_id that was entered in to enter it into
the user table? there is no unique field in the address table. any ideas?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>