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...