• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

How to debug PHP


Unconfigured Ad Widget

  • 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?
    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.


    • #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.



      Sign up for a News Letter Click here to sign up