mysql_insert_id error
Posted: Wed Mar 08, 2006 7:01 am
Please see this error :
Outut:
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in c:\wamp\www\atlantared\register_post.php on line 4
Code: Select all
include "conn.php";
$rr = mysql_query("insert into users (login,password) values('asdf','asdf')");
$ri = mysql_insert_id($rr);Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in c:\wamp\www\atlantared\register_post.php on line 4