yup, you don't even have to use XML... JSON is much cooler for most things... it can be parsed natively by Javascript, because it's just a subset of object literal notation.
Yeah but I don't know Ajax, will eventually learn it. Does Ajax have access to mySql database? Can javascript and php access mysql database without any page refresh???
I think you are getting confused... AJAX is NOT a language of any kind. AJAX is a technique. Basically the idea is: Using client-side code (Javascript) to send a request to server-side code (PHP, Ruby on Rails, JSP, etc.) which returns some sort of structured data (structured data could be anything from a comma-delimetted list to JSON and XML) which is then parsed and/or executed by the client code... all without refreshing the page.
JellyFish wrote:Yeah Ajax is a combanation of technologies, but I never knew php was included the list of those technologies. Thanks for clearing that up guys.
It doesn't have to be PHP specifically; it just needs to be a server side language. ASP, Perl or JSP would all work as well as PHP
JellyFish wrote:Yeah Ajax is a combanation of technologies, but I never knew php was included the list of those technologies. Thanks for clearing that up guys.
It doesn't have to be PHP specifically; it just needs to be a server side language. ASP, Perl or JSP would all work as well as PHP
Technically it doesn't even need to be that... you can request a static page and parse the results with javascript if you really want to...
The Ninja Space Goat wrote:Technically it doesn't even need to be that... you can request a static page and parse the results with javascript if you really want to...