display errors in php

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″);

Follow

Get every new post delivered to your Inbox.