Image

Imagehipmaestro wrote in Imagephp

n00b

Thanks for the database advice. I've decided to get my feet wet with mysql, and now have a specific how-to question.

I've got an auto-incrementing field named "id" in a table called "thing_streams". (Please feel free to correct my terminology any time.) Say I create a new row:

$result = mysql_query("INSERT INTO thing_streams (...) VALUES (...)");

How do I see what the id of the new row is?