How do I get PHP errors to display?

How do I get PHP errors to display?
Answer
The quickest way to display all php errors and warnings is to add these lines to your PHP code file:
ini_set (‘display_errors’, 1); ini_set(‘display_startup_errors’, 1); error_reporting(E_ALL);
 

Tìm kiếm

Back
Top