I’m on day 4 of my entry into PHP. I’m very conversant with Perl so programming is not new.
I’m getting periodic errors in my code and would like to show ALL error and warning messages on the Browser
Seaching the web I found this which seems to show most errors
[code]
<?php
error_reporting(E_ALL);
ini_set(“display_errors”, 1);
…
…
but…
[code]
…
$msg = ‘This is a block of multi-line text that I parse into a ‘.
‘templating script. But if I end the line with a comma ‘, // Note the comma
‘instead of a period the script returns a completely blank ‘.
‘screen’.”n”;
echo $msg;
…
Is there some means of detecting this type of error? I do not have root access to the server.
Sometimes it can be really hard to find.