MySQL get rows
#2

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.
Reply


Messages In This Thread
MySQL get rows - by Yiin - 27.01.2013, 17:21
Re: MySQL get rows - by ReneG - 27.01.2013, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)