For some good reasons some server hide php errors , still you want to display it for debugging purpose then use following simple two lines of code in a page where you want to display error error_reporting(E_ALL); ini_set(“display_errors”,”1″);
Filed under: Php | Tagged: error report, ini_set, show error | Leave a Comment »