On May 17, 12:24 pm, "[email protected]" <[email protected]>
wrote:
> 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 likewww.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?

<marker name="BAY TREE BOOKSTORE" address="1156 High St, Santa Cruz,
CA 95064" lat="36.977215" lng="-122.052261" contact="831-459-4544"
distance="3.2861174401916"/>

I see a "contact" attribute in your xml.

And I see it in the sidebar of your page and in the infoWindow.  Why
do you think it isn't working?

  -- Larry

>
> links:
> the php-generated 
> xml:http://ultramel.com/dev/nelsonline/phpsqlsearch_genxml.php?lat=37&lng...
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to