using same id ref. to insert multiple rows on a diff. table
Posted: Tue Dec 06, 2005 2:25 pm
Ok,
I have 2 tables.
Per order, the first table will have one entry where as the second table will have 2 or three but i need to some how keep reference that all entries are related for that order.
I tried last_insert_id but fond that it is not suitable.
Any ideaS?
I have 2 tables.
Per order, the first table will have one entry where as the second table will have 2 or three but i need to some how keep reference that all entries are related for that order.
I tried last_insert_id but fond that it is not suitable.
Any ideaS?