Monthly Archives: April 2006

Re-using your database connection in PHP

Often I’ve wondered what’d be the best practice when connecting to MySQL with PHP. Many people use some function and possibly open and close their database connection multiple times. Well, I’ve used global variables and such to keep track of … Continue reading

Posted in PHP | Leave a comment