> - ALL have problems searching for Wichita. :-(
> Can you see why, please?

I repeat exactly what I said before
" Your phpsqlsearch_genxml.php returns invalid
XML if no data is found.  "

http://code.google.com/intl/da/apis/maps/articles/phpsqlsearch_v3.html
is a turorial, not a finished application.  The idea is that you study
how it works and adapt it to your particular needs.  In this case, you
need to adapt to deal with null results from SQL.
You might also toughen up the javascript so that it does something
predictable if it is given bad XML, or the XML fetch fails altogether.

> And if I put nid in front of name from this code it doesn's function
> so I have removed it again.

If you want some help with that, show us your failing version.
If you were to change your function definition to
        function createSidebarElement(nid,name, distance, num){
then you must also make sure you supply a value when you call it
        createSidebarElement(x, banana, foo, yong);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to