Jump to content

last_insert_id() question?


coder9

Recommended Posts

What's last_insert_id(), I've never heard of it. I've heard of mysql_insert_id() though.

 

Don't make it in uppercase as well, all lowercase. :)

 

So it should be this:

$query = "SELECT * FROM `jtablegrid` WHERE `game_no`='".mysql_insert_id()."'";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.