I just found out how to use the mysql_insert_id() function in PHP.

It returns the auto_increment value for the last entry you inserted into a database, which becomes very handy when you need that value to reference an entry in another table to that one. Saves an entire query in between.

Today I am mostly having fun with constructing MySQL queries to access two tables simultaneously :)