When to use PHP addslashes and stripslashes?

PHP addslashes is used to quotes string with slashes. These characters are single quote, double quote, backslash and NULL and basically used whenever string is passed as database query. [Read more...]

Making of Tohle Classifieds Site

Recently, I have developed a website Tohle.com and today I am sharing my experience in developing this website. It’s a classified site similar to CRAIGSLIST, QUICKR, LOCANTO and OLX. All these web sites are different way of working and have a great user interface. [Read more...]

PHP reusable MySql Connection Class

Whenever i code in PHP and MySql, i use object oriented method.  Today i am sharing the basic class that will handle all the connectivity features like connect, selecting database, closing connection, begin the transaction, commit, rollback, result set and affected rows after mysql insert, delete and update commands. [Read more...]