Skip to posts
  • About

Win Web Hosting

Web Hosting Information
  • Home
  • ASP.NET
  • Cloud Hosting
  • Dedicated Servers
  • Linux Web Hosting
  • Microsoft AJAX
  • Microsoft Siverlight
  • Windows Web Hosting

Problem with PHP an Ajax. How can I fix this problem?

June 8, 2011 James 4 comments
Microsoft AJAX AJAX, Problem, this

Comments

Leave a comment Trackback
  • Written by Ryan about 1 year ago.

    cheese

  • Written by Onitz about 1 year ago.

    you ought to have an alternative code incase q is undefined

    ie unless the url has something like index.php?q=123456

    $_GET['q'] will most likely be undefined

    try replacing $q=$GET['q']; with $q=1;

    It might also be because you dont have any records in the database, hope this helps

  • Written by Ukie Man about 1 year ago.

    I would check the syntax of this section

    }
    xmlhttp.open(“GET”,”po.php?q=”+str,tr…
    xmlhttp.send();
    }

    It seems as thought the JavaScript is not properly building the URL link which appears to be po.php?q=somethingsomethingsomething

  • Written by naveed7299 about 1 year ago.

    First of all, turn off unnecessary error reporting by changing the error_reporting variable in php.ini to false or 0. Generally you should not turn off error reporting while you are developing the application. Turn it off only when you deploy it online or on a network. Create a system that reports errors to you, yourself, rather than making the user uncomfortable.

    Next, check when the error reporting is off, does the thing work properly at all. If it doesn’t, then the q variable is not properly supplied, perhaps. If you need any more help, you will have to post more details.

Comment Pages:

Leave a Comment

Cancel Reply

You must be logged in to post a comment.

RSS

Win Web Hosting Home Page

Cheap Windows Hosting

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives

  • May 2012 (62)
  • April 2012 (81)
  • March 2012 (82)
  • February 2012 (79)
  • January 2012 (92)
  • December 2011 (163)
  • November 2011 (205)
  • October 2011 (339)
  • September 2011 (367)
  • August 2011 (367)
  • July 2011 (322)
  • June 2011 (338)
  • May 2011 (358)
  • April 2011 (94)
  • March 2011 (40)
  • February 2011 (36)
  • January 2011 (41)
  • December 2010 (30)
  • November 2010 (40)
  • October 2010 (41)
  • September 2010 (52)
  • August 2010 (150)
  • July 2010 (165)
  • June 2010 (159)
  • May 2010 (238)
  • April 2010 (248)
  • March 2010 (202)
  • February 2010 (576)

Recent Posts

  • Developing Silverlight MediaPlayer (3/3)
  • MVC TUTORIAL PART 7 : Adding Supplier Details Link
  • dot net course in pune. C# training in pune. asp.net training in pune
  • How To Get Black Silverlight
  • Hosting Classic ASP Applications on IIS 7.5

Tags

.NET 2010 about AJAX Application Applications ASP.NET best Business cheap cloud Company Computing Control Create data Dedicated Development Free from help Host hosting India Introduction Linux Microsoft more need Page Part private Server servers service Services Silverlight Site Software Source Tutorial Using Video website Windows

Categories

  • ASP.NET
  • Cloud Hosting
  • Dedicated Servers
  • Linux Web Hosting
  • Microsoft AJAX
  • Microsoft Siverlight
  • Windows Web Hosting

Meta

  • Register
  • Log in
  • Valid XHTML
Powered by WordPress Web Design by SRS Solutions © 2012 Win Web Hosting