Hi all -
I want to add some extra text to my info bubbles, specifically contact
information (phone number or website url), and I'd like that
information to be generated from my database. I read through the post
for "Adding extra fields to standard Google Maps store
locator" (http://groups.google.com/group/Google-Maps-API/browse_thread/
thread/84d90a9df0185152/7197ec2f6792afe6?lnk=gst&q=database+xml
+extra#7197ec2f6792afe6) and did everything that was mentioned/
suggested, but for some reason the php-generated XML file is not
retrieving the contact information from my database.
Here's what I've done:
- I added a 'contact' field to the database, gave it a varchar(50)
with collation of utf8_unicode_ci, and populated it with phone numbers
like 123-456-7890 or urls like www.url.com
- in my 'phpsqlsearch_genxml.php', i added this line of code right
after the other ones just like it: $newnode->setAttribute("contact",
$row['contact']);
- tried changing the 'contact' field type to text, and tried changing
its collation type, still no luck
Any ideas on what is happening that is preventing the XML from
retrieving the 'contact' data from my database?
links:
the php-generated xml:
http://ultramel.com/dev/nelsonline/phpsqlsearch_genxml.php?lat=37&lng=-122&radius=5
the html page with the store locator:
http://ultramel.com/dev/nelsonline/locate_a_retailer.html
Thanks in advance, I really appreciate any insight you may have b/c I
can't figure out whats going on for the life of me!!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---