PHP code to display error in program

I am trying to debug a PHP program, can I ad ssome coding to send back to the screeen what line of coding is in error?
Scott JohnstonIT Manager Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
Try this at the top of your scripts.
ini_set('display_errors', TRUE);

Open in new window

If you're new to PHP and want to learn the language, this article may be helpful.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott JohnstonIT Manager Author Commented:
I've requested that this question be deleted for the following reason:

Forgot and have found my own solution
Ray PaseurCommented:
Why not post your solution and accept that as the answer?  We would like to see what you used, and so would others who might have a similar question.
Scott JohnstonIT Manager Author Commented:
Sorry, I have other issues to worry about right now.  Point do not change my job, but sometiime the helpeceive from this web site is great.  However you and i do not seem tobe on the same page.  I not sure why but....anyway keep up your great effort i sure that there is many people who need your expert advice.
Most of the time you tell me or direct me to some type of training!!@

Most likley my last year using this site for advice!@
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.