i have to run 2 queries for inserting 2 different tables
userorder table contains orderid , title
order_details containts orderid, qty
so how can i get orderid for my order_details? the code below donts seems able to get last orderid
$query = mysql_query("SELECT last_insert_id()");
list($oid)=mysql_fetch_row($query);