dptr1988 Posted June 26, 2006 Share Posted June 26, 2006 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. ThanksBTW: 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. Quote Link to comment https://forums.phpfreaks.com/topic/12893-share-your-debugging-tips/ Share on other sites More sharing options...
robos99 Posted June 26, 2006 Share Posted June 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/12893-share-your-debugging-tips/#findComment-49534 Share on other sites More sharing options...
dptr1988 Posted June 26, 2006 Author Share Posted June 26, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/12893-share-your-debugging-tips/#findComment-49673 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.