On Sep 9, 9:50 am, amira benfradj <[email protected]> wrote:
> hello,
> when i point my browser at ajax.php file i get this error Fatal error:
> Call to undefined function domxml_new_doc() i dont know how to resolve
> it

domxml_new_doc() was introduced in PHP 4.2.0, so presumably your
version of PHP is earlier than that.

I guess you're using something like 
http://code.google.com/apis/maps/articles/phpsqlsearch.html#outputxml

You need to write your XML explicitly using echo. See
http://gmaps-samples.googlecode.com/svn/trunk/articles-phpsqlsearch/phpsqlsearch_genxml_php4.php

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to