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 );
}
kkeith29
Nearly a Posting Virtuoso
1,357 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194