Basic Newbie Question
Posted: Thu Jun 14, 2007 11:59 pm
Thanks in advance for your help....
I am assuming from some testing of my own that once you open a database connection on a .php page it stays active even outside of the
"<?PHP .. ?>" tag that it first appears in. I ask because I want to create a connection string in an include file and just call the include at the top of every page that requires a connection. This seems to be the case, but I want to make sure that I am just not getting lucky in my testing.
Thanks again...
I am assuming from some testing of my own that once you open a database connection on a .php page it stays active even outside of the
"<?PHP .. ?>" tag that it first appears in. I ask because I want to create a connection string in an include file and just call the include at the top of every page that requires a connection. This seems to be the case, but I want to make sure that I am just not getting lucky in my testing.
Thanks again...