Ok i have several includes that are connecting to my forum database to pull recent posts and news. Ive got another include that is connecting to another database that has a table for tutorial and article pages that I want to display. The problem im getting is that, without using mysql_close, the tutorial script is looking in the forum database, so im guessing that the connection is staying open. When i put mysql_close at the end of each script it only runs the first include and the next one says database not found. Can someone help plz;)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
PHP MySQL connection help: Urgent!
|
0 | 66 | April 13, 2008 | |
Closing MySQL connection? | 0 | 110 | June 15, 2010 | |
Why close mysql database connection?
|
0 | 148 | November 19, 2010 | |
Opening two db connections
|
0 | 38 | January 28, 2009 | |
Multiple WHILE loops on one page | 0 | 97 | February 11, 2010 |