OK, so i am making a game in Flash that connects to a SQL DB but after a while it stops working, maybe its because that are too many connections open because it keeps connecting to it.
how do i stop this?
I have found this code somewhere else which is in the end line in every page i some phpchat code.:
$DbLink->close();
Is this it? What do i put there instead of $DbLInk?
This is my connection code:
mysql_connect($DBhost,$DBuser,$DBpass);
mysql_select_db("$DBName");
PLease show me the way!