All posts tagged PHP

article_php

MySQL Class for PHP

This should get you started if you’re looking to connect to MySQL database.

article_php

Show Errors in PHP

In the good “old” days when 99% of all websites looked horrible, PHP would by default spit out all errors. If you made a mistake in your code, you’d get gracefully “notified”.

With PHP 5 we arrived to a new era of hidden rebukes – page just loads totally blank by default.

If you like games, you can just start searching the problem from your source code! If you have less than 100k lines you’ve got a good chance to find the issue before dawn.

If not, just drop these lines to the beginning of the script – should be fine…

ini_set('display_errors', '1');
error_reporting(E_ALL);
article_thed

Bible Module

Just finished a new module for TheD – Bible Module.

Updates and Joins in MySQL

Now this is supremely hot. You can update a whole set of information from one table to another without passing any data from your PHP. Not sure if this works with MS SQL, I’ll check next time I’m around those machines.

Back to Top