Jump to content

Archived

This topic is now archived and is closed to further replies.

dptr1988

Share your debugging tips

Recommended Posts

I'm collecting some tips on how to debug PHP script and I was wondering if anybody has some debugging methods that they use and would like to share. I googled for 'PHP debugging' and didn't find a whole lot of help so I thouhgt I would try to make a collection of them. I don't have very many right now. Here are all of the ones I have now [a href=\"http://dptr1988.mooo.com/php_tips.php\" target=\"_blank\"]http://dptr1988.mooo.com/php_tips.php[/a]. If you have any tips on how to debug PHP, please let me know.

Thanks

BTW: You can add you debugging ideas on the page [a href=\"http://dptr1988.mooo.com/php_tips.php\" target=\"_blank\"]http://dptr1988.mooo.com/php_tips.php[/a] and I'll will review them and add them into the main page.

Share this post


Link to post
Share on other sites
You should put a nl2br on the data from your text box...otherwise it all turns into a big jumble of text....like i just did.

Share this post


Link to post
Share on other sites
Thank you, robos99 and others, for your contributions!! I was planning on taking your tips and formatting the similar to the ones on the top of the page, if that is OK with you. I'm sorry about not allowing for newlines. I just changed it so the text you enter is between PRE tags.

Thanks again!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.