mysql links closing prematurely

admin

Administrator
Staff member
Hi, I'm having a little problem.

Say I have for example, index.php, which connects to mysql and selects a database, does some queries, prints some results.

If i then include news.php, I do not have to reconnect, i can just make the queries, and once again, print some results.

But if i include yet another file, queries fail, meaning i have to reconnect to mysql, and i have no idea why.

Any help would be appreciated, thanks
 
Back
Top