Hi all,
If i am using the following query:
how can i make the LAST_INSERT_ID() a variable? (inorder to use it later)
Cheers,
camcim
If i am using the following query:
PHP:
$sql_query ="INSERT INTO movie_genre (movie_id, genre_id) VALUES (LAST_INSERT_ID(),'$genre_id')";
$result = mysql_query($sql_query);
how can i make the LAST_INSERT_ID() a variable? (inorder to use it later)
Cheers,
camcim