too many connections. Are multiple connections allowed for what you are doing? It could be your hosting service or maybe the way you have permissions set up. make sure you close the connection (mysql_close('database')) when done, make sure you can read, write and execute by checking with your host, and make sure that you are not on an awful shared host. This will help to clean up connections.$result = mysql_query("SHOW FULL PROCESSLIST");
while ($row=mysql_fetch_array($result)) {
$process_id=$row["Id"];
if ($row["Time"] > 200 ) {
$sql="KILL $process_id";
mysql_query($sql);
}
}