By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,747 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,747 IT Pros & Developers. It's quick & easy.

To Justin & all who helped

P: n/a
Hi all

First thank you to Justin and others who helped for all the help. I am new
to PHP and although I have done DB3 before(yep I am old--teehee),PHP is
very different in many ways.

I do have a question...Can PHP display error messages on the screen & also
log them? That was the main problem this time. I didn't know that PHP
logged its errors but now that I know this that is the first place I'll go
from now on. I am trying to teach myself PHP.

Thanks again,

Tony
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Tony Wilson wrote:
I do have a question...Can PHP display error messages on the screen & also
log them? That was the main problem this time. I didn't know that PHP
logged its errors but now that I know this that is the first place I'll go
from now on. I am trying to teach myself PHP.


You can define custom error handling functions that can do everything
from echoing to logging to shouting "You Da Man!". Here's some leads on
the subject:

http://www.php.net/manual/en/ref.errorfunc.php
http://www.zend.com/zend/spotlight/c...lery-wade9.php
http://www.devshed.com/Server_Side/PHP/ErrorHandling

Bunny

--
/**
* @author Jochen Buennagel <zang at buennagel dot com>
* @see http://www.sourceforge.net/projects/zang
*/

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.