hi,
if i have a db:
person> pID (not null, auto_increment), lastname, firstname
phone>pID (not null), phoneNum, pID(foreign key points to "person")
assume connection is established and pointing to the right database already//////
//assume $ln and $fn have value for user input
mysql_query("INSERT INTO person( ' ', '$_POST[$ln]', '$_POST[$fn]' )");
/*
if the form page has to be filled with both person and phone table information
then how do i insert for "phone" wit the pID in the person table ?????
pID is auto-increment so it is not needed to be entered by the form filler.. how do i get that particular pID from the same person the form filler is trying enter data into?
sorry, so confusing */