Category: Snippets


Redirect to URL in CodeIgniter

This can be done by using URL Helper of CodeIgniter. This helper library should br loaded using the following code:

To redirect you just need to call function as follow:

See more...

Creating TimeAgo function in PHP 0

Creating TimeAgo function in PHP

Many times while displaying time on website we need to do something extra. This function script can give you time in days/hour/minutes/seconds ago format. You just need to pass the mysql time to this...


Making Facebook Comments Responsive

It’s very simple to do. Just put the either in your CSS file or in your html code with style tags !!!

See more such snippets on