Novice Question - Viewing Errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am just beginning to learn about PHP.

It seems as though if I make a code error... The PHP page will simply come
up blank. ( Not too helpful for error checking) -  I would like to see some
kind of report on the page as to what went wrong.

 I have tried adding various lines of code to my page - from the link below
-  however I still get a blank page when errors occur...

display_errors(1);
error_reporting (E_ALL);
Etc........

 I have read that possibly the errors are being sent to kind of error log -
rather than the page?

Q: How can I get the error reporting show up on the page so I can see it?

- - - - -
From: PHP: Error Handling and Logging Functions - Manual
Location: http://www.php.net/manual/en/ref.errorfunc.php
- - - - -

XXXIII. Error Handling and Logging Functions




--
Thanks - RevDave
CoolCat@xxxxxxxxxxxxxxxx
[db-lists]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux