Enable error reporting in PHP file

Many hosting companies by default disables any PHP error reporting for security purpose, because it displays all the vital information and root server path. Which is certainly not a good idea and it might interest some curious and naughty people.

MySQL INSERT Statement with PHP

MySQL INSERT statement inserts record in MySQL database table. We can execute INSERT statement using PHP to insert new records in the database table. For this let’s  create a demo table in MySQL database, Copy following MySQL code in your PhpMyAdmin. It will create a table name demotable with 4 columns: id (Auto increment), name, email and phone number, and inserts some records for the demo.

Simple Way to Use WordPress Custom Fields

We all know what WordPress custom fields can do, if you do not know what the heck is custom fields is, then you are probably missing out something important and powerful tool in WordPress. With custom fields you can add additional information called meta-data to individual post, and meta-data can be simple information to vary complex actions. To achieve complex actions, you must have PHP skills and WordPress template editing knowledge. Without making it any more complicated, I will show you how quickly you can start using WordPress custom fields with your blog posts.

Retrieve Feedburner Subscribers count with PHP

Feedburner Awareness API lets us retrieve total subscribers count. Just enable Awarness API in feedburner settings and replace feed URL with your feedburner location. [cc lang=”php”][/cc]