I have an SQL table I can only insert to if its empty. In other words, with my code as it is, the table only holds one record at a time.
The table genre_lookup has 3 fields:
id: int, primary key
movie: int
genre: int
and the SQL command:
mysql_query(
'INSERT INTO genre_lookup (movie,genre)...