View Single Post
  #1  
Old 11-11-2009, 08:14 PM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default 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...
__________________
Website Development
Domain Name Forum
Reply With Quote