
August 9th, 1999, 02:55 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Nope, you have to re-establish the database connection on the next page. In the background, PHP may be using a persistent connection, but that depends on configuration.
Easiest way to do this is make an include file that has the database connection command(s) and then 'require("<file>.inc"); at the top of each script that needs a database.
Then if anything ever changes (location of DB, name, etc), you only have to change the parameters once...
|