/ Published in: PHP
URL: http://www.itsgotto.be/cv.php
Here is a wrapper for making database queries. It doesn't matter who the F!@k you think you are you should always wrap querying the database in your own function.
WHY?
Because when you take your application to a new server, you won't have to change all the calls to mysqlquery() to pgsql_query() or $db->query() or what ever you are now using.
!!!Plus!!!
When you query fails you can handle that in a very nice way with a proper error screen and maybe send an email to your self.
You need to login to post a comment.
