I found the problem, the example code used the litoral 'localhost' instead of $server, set in a separate php file, for the connection to the database.
On 3/10/11 9:10 AM, "[email protected]" <[email protected]> wrote: > On Mar 10, 8:01 am, Fred Weaver <[email protected]> wrote: >> I'm going thru the demo info >> onhttp://code.google.com/apis/maps/articles/phpsqlsearch.html > > That is a v2 example. The v2 group is: > http://groups.google.com/group/google-maps-api > >> and I keep >> getting "No results found". Firefox debug console is catching the output of >> the php file and there is a notice and warning at the head of the xml >> output. > > Please provide a link to your map that exhibits the problem when you > post your question in the v2 group. > >> >> *<br /> >> <b>Notice</b>: Use of undefined constant localhost - assumed 'localhost' in >> <b>/Applications/MAMP/htdocs/Php2XML/phpsqlsearch_genxml.php</b> on line >> <b>15</b><br /> >> <br /> >> <b>Warning</b>: Cannot modify header information - headers already sent by >> (output started at >> /Applications/MAMP/htdocs/Php2XML/phpsqlsearch_genxml.php:15) >> in <b>/Applications/MAMP/htdocs/Php2XML/phpsqlsearch_genxml.php</b> on line >> <b>38</b><br /> >> <?xml version="1.0"?> >> <markers><marker name="Amici's East Coast Pizzeria" address="790 Castro St, >> Mountain View, CA" lat="37* >> >> GDownloadUrl is passing the correct parameters, but are the notice/warning >> messages hindering GXml.parse from recognizing the xml markers? > > GXml is a v2 function. > > -- Larry > >> Is there a >> php setting I need to set the restrict notice and warning output? -- 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.
