so pretty much you want to take the insertion uid and use it in the second table.
something like this maybe.
$sql = "SQL HERE";
$query = mysql_query( $sql,$con );
if ( $query ) {
$iid = mysql_insert_id( $con );
$sql = "SQL HERE WITH {$iid}";
$query = mysql_query( $sql );
}
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
Offline 1,315 posts
since Jun 2007