February 23, 2012 learn_php

PHP and MySQL database connection

PHP and MySQL Database connection A dynamic website is not dynamic to it’s fullest unless it contains any means to store data or retreive it. There is the need to track user changes to anything within the website, for example, their user profile. Back in the older days, websites used to utilize what is known […]

Read more
February 14, 2012 CodeIgniter Image

Codeigniter Tables class

Codeigniter HTML Table class Today I want to talk about an interesting class that is built within codeigniter. This class consists of just creating an HTML Table, but except, you do it with ease, and I am going to show you how. In this example, we are going to assume we have a database connection, […]

Read more
February 2, 2012 learn_php

Handling dates in PHP

Handling dates in PHP Dates in php are often overlooked and people tend to think that they will not need to handle dates, but indeed my friend, you will need to know how to handle dates when working with PHP. The most common function in PHP to retrieve the date is date(). This function takes […]

Read more
January 28, 2012 learn_php

Exception Handling in PHP

Exception Handling in PHP In special cases during a development, there will be the need to handle errors of some sort. PHP5 has introduced this new feature to handle exceptions with the Exception Class, and on this post, we will learn what the basics are for error handling with this exception handling class. In many […]

Read more
January 26, 2012 learn_php

Post for sessions class

Simple Sessions I have uploaded a simple sessions class for all php developers to use. This class can be used for normal PHP development, or it can be loaded as a library for the codeigniter framework. I would appreciate it all of you would give this a try and give me your feedback and any […]

Read more
January 11, 2012 learn_php

Object Oriented PHP

Object Oriented PHP – Page 1 Before we combine PHP with Object Oriented Programming, we first need to understand the basics of OOP. OOP is a paradigm that has been around for quite a few years now, and it utilizes classes, relations and properties. Software that is based on OOP, can be sesn as a […]

Read more