*How can you see the <?php marker, (or the line before it), if it is
processed at the server?? *

On Tue, Nov 4, 2008 at 6:58 AM, Rossko <[EMAIL PROTECTED]> wrote:

>
> > *Hpw can it be so wrong, when it's the exact script from Google, and it
> > works for them?*
>
> Because you are hosting your page on a 'free' web service that makes
> its money by adding adverts to your webpages.  The webservice is
> pretty dumb, and adds its adverst to your XML output as well.   That
> invalidates the XML - the map is expecting geo-data, not adverts.
>
> The extra blank line may result from that too, but it's quite easy to
> accidentally add a blank line yourself in PHP.   If you have a blank
> line in your PHP file before the <?php... marker, the will faithfully
> output that as a blank line before anything else, so have a careful
> look at your .php file
>
> This stuff isn't easy for beginners, the API is intended for
> developers with a bit of knowledge.  Don't despair, it just takes time
> to gather the knowledge from the various fields; you are after all
> doing something quite ambitious with a variety of technologies - HTML,
> javascript, PHP, XML, SQL
>
> good luck, Ross K
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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