I'm still not having much luck on these. Let's forget about the fact
that the street location is going to be coming from PHP - can anyone
point me to some sample code that shows geocoding working where the
address is hard coded into the page? I think if I can see an example
of that working then I can use what I know about PHP to feed the
address at the appropriate part of the script.

Thanks.

On May 12, 1:04 pm, Marc Guay <[email protected]> wrote:
> > What I can't seen to figure out is how to initiate the geocoding
> > function when the page loads based on a variable that will be passed
> > to it via PHP.
>
> Hi Paul,
>
> If I understand you correctly, you want to pass a PHP variable to
> Javascript.  This can be done with something like this:
>
> <?php
> $dynamic_php_variable = $_GET['whatever'];
> echo "<script type='text/javascript'> var dynamic_js_variable =
> ".$dynamic_php_variable."; </script>";
> ?>
>
> Marc
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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