Online php debug method

January 10th, 2010 by Bruce Dou Views:166

Put the following code in your php code.
<code>
echo ‘<!–’;
print_r($display);
echo ‘–>’;
</code>
you will see your debug messages in your html source code.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • 豆瓣
  • DZone
  • LinkedIn
  • MySpace
  • Reddit
  • RSS

Also see:

  • No Related Post

Leave a Reply