I'm using the book Learning PHP, MySQL & Javascript trying to learn how to use the 3 languages together in a site I'm preparing for exams. Have a problem with the code-examples 18-6.xmlget.php and 18-7.xmlget.html from the book. I have copied directly, but still it doesn't load. I have put the php-part and the Ajax-part in the same php-file as you can see in the attached file.
Hope someone can help me, feel pretty foolish messing up with a book-example
xmlget.php (1.81K)
Number of downloads: 455

Help



