note 21688 rejected from function.mysql-insert-id by jimw

From: Date: Wed, 07 Aug 2002 23:45:30 +0000
Subject: note 21688 rejected from function.mysql-insert-id by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34487@lists.php.net to get a copy of this message
i have problem - mysql_insert_id with argument does not return ID but show : Supplied argument is not a valid MySQL-Link resource in ... My table have ID auto inc. with mediumint(1); $bida=mysql_query("insert into hzz (hzza) values ('ala')"); print mysql_insert_id($bida); Is it a bug ?

« previous php.notes (#34487) next »