Announcement

Collapse
No announcement yet.

How to debug PHP

Collapse

Ads on showthread pages

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

  • How to debug PHP

    WordPress Hosting on SSD Servers
    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>";

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

    Comment


    • #3
      ASP.Net Hosting starts @ $3.18/Mo.
      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.

      Comment

      Working...
      X
      Sign up for a News Letter Click here to sign up