Announcement

Collapse
No announcement yet.

How to debug PHP

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Davidwatson
    replied
    The editor enables you to view the contents of files. So when you are debugging, the editor, in combination with the debugger toolbar, provides you with the ability to step through your code during execution in order to see how the contents of your files affect what is happening in a browser.

    Leave a comment:


  • Davidwatson
    replied
    You can use Firephp an add-on to firebug to debug php in the same environment as javascript.

    Leave a comment:


  • Raunkus2
    started a topic How to debug PHP

    How to debug PHP

    In these few php lines, the first and the last lines are executed without any problem, but the middle two lines are ignored as if they are not even there. Any suggestions?
    Code:
    echo "<script type='text/javascript'>alert('Web Site Under Test -- line 440');</script>";
      $tempstr = addslashes($where_sql);
    echo "<script type='text/javascript'>alert('$where_sql -- '".$where_sql."');</script>";
      echo "<script type='text/javascript'>alert('Web Site Under Test -- line 445');</script>";
Working...
X

Sign up for a News Letter Click here to sign up