Forum Moderators: coopster
I have a class responsible for retrieving the dynamic content of each page (right column and footer) and each page has its own class to retrieve the content of the main page. Essentially this involves two calls to mysql_open for each page. Running on a local machine it doesn't seem to lag but I was wondering if this was too many database calls (2) for each page.
I considered keeping the connection open and closing it in the second function that grabs the main page content. What do you guys advise on this matter?