If the PHP page generates the XML nicely, Ajax will be able to process the data accordingly. However, if there is a PHP error, Ajax will not return the correct result.
Testing the called page is a headache if you use IE.
For example, if the page has a missing parameter
IE will show "The following tags were not closed:yourxmltag....". If you try to "view source", IE will tell you "The xml source file is unavailable for viewing".
Firefox will at least tell you that "SQL failed". At lease Firefox shows the php error when "view source".
No comments:
Post a Comment