It is not a good idea to use 2 separate tables though. You really do not need to use a table for the "genre". Many of those games are going to fall into more then one category, which your current system is not going to support.

Post your code for the "ins_ads.php" page. What you will want to do is after the person submits (adds a game), you will retrieve the ID, then you will do a mysql_query to get the name of the genre based off the ID that was retrieved.

Post your code for the "ins_ads.php" page. What you will want to do is after the person submits (adds a game), you will retrieve the ID, then you will do a mysql_query to get the name of the genre based off the ID that was retrieved.