At 10:38 PM -0700 10/4/07, tbt wrote:
Hi
I'm a newbie to php and i would like to know a way of viewing runtime errors
on the browser. Currently when an error occurs nothing is displayed on the
browser. Is there any way of viewing all error messages on the browser
itself.
Thanks
tbt:
Welcome to the jungle.
What Paul said is correct, but you must also realize that not all
errors will be shown even with the error reporting on.
For example, just leaving a ";" from a line termination will cause
the browser window to display nothing.
This was the hardest thing I had to get used to in programming php
and still have problem with editing large amounts of code.
So, I suggest that you go in baby steps, test frequently, back-up
what worked, and comment out sections of code to eventually isolate
the offending statement(s).
I long for the time where my editor said "Offending syntax on line 236".
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php