Posts: 42
Name: Jez
Location: Grand Junction, CO / Williston, ND
|
Regarding connecting to a MySQL db...
my back end admin control panel for my website has a dynamic content setup with a navigation menu that allows the admin to access different information about clients and orders. each page that the admin selects has specific queries.
my question: how often do I have to connect to the database? do I need to make a connection on each page? or can I connect once (on the main admin page). and that connection still be active for each page? or do I have to connect on each page that is accessed?
I could do some trial and error coding, but with the number of pages involved, I thought it may be faster to ask here
Thanks in advance!
|