27.01.2013, 18:03
You need to setup a primary key (auto_increment integer) for the gangs table, and a new variable for it accordingly.
After inserting a new row in the gangs table, set it to mysql_insert_id();
As for your second question, look in the MySQL source code, specifically in ProcessQueryThread, you'll see why that is happening and why it's completely normal.
After inserting a new row in the gangs table, set it to mysql_insert_id();
As for your second question, look in the MySQL source code, specifically in ProcessQueryThread, you'll see why that is happening and why it's completely normal.