View Single Post
Old 07-09-2008, 01:45 PM   #13 (permalink)
Slide
Limey Bastard
 
Join Date: Mar 2004
Location: London innit
Posts: 744
-3 Internets
Quote:
Hmm, this looks like a good thread for my question.

I'm currently attempting a project which requires a lot of database calls across what is likely to be a lot of different .php files. Rather than have each script individually call the database (mysqli_connect()), would it be prudent for me to create a class which does this and simply call the class when necessary?
__________________
Dont see any mention of taking or not taking user input in this question. Always err on the side of caution...
Slide is offline   Reply With Quote

 
Uberguilds Network