You actually have a time-out problem on exec_stmt(), because the for() can't loop without executing all of the statements within.
You may want to start looking for ways to increase the time php waits for mysql to execute a query. Just to make sure I'm not senselessly babbling here, what does the script print in the browser window upon execution? Bogdan Andy wrote: > Hi guys, > > I would like to split a table of 2.3mill entries into 250 single ones. They > contain countrycodes > and I created automaticly 250 tables named after this codes. So far so > good... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]