How to disable PHP error formatting to get just plain text? This should also affect MySQL related functions.
I want to get plain text, instead of a structured HTML error message.
UPDATE
AS Artefact2 suggested I change the php.ini file, so
ini_set('html_errors', false);
does the trick if I need it in real time.
source share