Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Programming (http://www.domainnameforum.org/forumdisplay.php?f=18)
-   -   One MYSQL connection per function or big no no? (http://www.domainnameforum.org/showthread.php?t=45455)

webdev 11-11-2009 08:14 PM

One MYSQL connection per function or big no no?
 
I'm currently learning how to make PHP and MYSQL be buddies. So far I've created a connection function and I use it in every other function in order to shorten the code. Since I'm connecting to the MYSQL server (service on the apache server?) every single relevant function call, and I making...


All times are GMT -4. The time now is 11:49 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.