without seeing your code it's difficult to tell, but I use mysql_insert_id() with no problems. You code should look something like:
// assuming columns x,y,z aren't the
// auto-increment column
mysql_query("
INSERT INTO table1(x,y,z)
VALUES('1','2','3')
");
// get last insertion id
$ID = mysql_insert_id();
// insert into new table
mysql_query("
INSERT INTO table2(table1_id,a,b,c)
VALUES('$ID','1','2',3')
");
// all done.
-- Nick Gushlow