How do I get the browser to display my errors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
idesign_media2
Forum Newbie
Posts: 1
Joined: Sat Dec 06, 2003 12:57 am

How do I get the browser to display my errors

Post by idesign_media2 »

I'm a novice PHP programer. When i code at work on a pc IE displays my errors which helps me troubleshoot my code. But when i code at home on my mac IE doesn't display my errors.

Is there some type of configuration that needs to be made in order to display my errors?

Thanks in advance for you help.
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post by DuFF »

Try adding

Code: Select all

error_reporting (E_ALL);
to the top of the page you want the errors to appear on.
Post Reply