php - Call to mysql_insert_id gives warning -


hi i'm receiving warning when trying retrieve insert id

warning: mysql_insert_id(): supplied argument not valid mysql-link resource

in

mysql_query($importword);  $word_id = mysql_insert_id($importword); 

if id , id want insert write mysql_insert_id(); after query.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -