> would anyone know what the problem is? The example is written to use PHP4 DOM XML extension. The article says http://code.google.com/apis/maps/articles/phpsqlajax.html#outputxml "Check your configuration or try initializing a domxml_new_doc() to determine if your server's PHP has dom_xml functionality on." The article offers alternative advice further down in the case "If you don't have access to PHP's dom_xml functions, ...." and provides an alternative method which will work in PHP5
PHP reference for DOM XML says http://www.php.net/manual/en/intro.domxml.php "This extension ... never be released with PHP 5, and will only be distributed with PHP 4. If you need DOM XML support with PHP 5 you can use the DOM extension. This domxml extension is not compatible with the DOM extension." It's not a fault in the example, which does provide a method that will work in PHP5. As the v2 API is now deprecated I doubt Google will be looking to revise the example with PHP5 methods. There's nothing to stop you adapting the example to work with DOM rather than DOM XML, which is what you are already doing of course, but it is up to you to do it There is help out there for that task http://www.google.com/search?q=php5+domxml+conversion There are old threads about it all http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=domxml_new_doc -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
