I need to know if theres a function that is simmilar to mysql_insert_id function
where it gets the last inserted id
but the thing is my id is not auto increment
i tried doing the select statement but not working
my scenario is:
i am updating a record from one table after inserting a new record in another table
so insert then update in one script.
thanks in advance!