Followings are some helpful codes in php: 1] Develop with error reporting enabled error_reporting ( E_ALL ) ; ini_set ( 'display_errors' , 1 ) ; 2] Prevents SQL injection $query_result = mysql_query ( "SELECT * FROM WHERE Ex_table ex_field = \" " . mysql_real_escape_string( $ ex_field ) . " \ " " ) ; 3] … Continue reading PHP Tips and Tricks