Jump to content


Photo

Share your debugging tips


  • Please log in to reply
2 replies to this topic

#1 dptr1988

dptr1988
  • Members
  • PipPipPip
  • Advanced Member
  • 372 posts

Posted 26 June 2006 - 01:03 AM

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.
Need more help with your project? One of the thousands of programmers, web designers or artists at <a href="http://www.rentacode...d_6764522">Rent A Coder</a> would be happy to help.

Disclaimer: Free advice is usually worth what you paid for it. ( or at least when it's coming from me! )

#2 robos99

robos99
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 June 2006 - 05:19 AM

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.

#3 dptr1988

dptr1988
  • Members
  • PipPipPip
  • Advanced Member
  • 372 posts

Posted 26 June 2006 - 02:29 PM

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!
Need more help with your project? One of the thousands of programmers, web designers or artists at <a href="http://www.rentacode...d_6764522">Rent A Coder</a> would be happy to help.

Disclaimer: Free advice is usually worth what you paid for it. ( or at least when it's coming from me! )




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users