Could someone please remind me how you get the ID or primary key value of the first INSERT query used so that the second query can then use this.
I am certain this is possible as I have done it before - problem is I have forgotten.
Cheers
mysql_insert_id()
Actually turns out I no longer need it, but somone else might.