Jump to content

Question about PHP & Google Maps


ds111

Recommended Posts

hey guys! :)

 

So i have a question thats got me stumped  ???

 

So basically what i want to do is have a dynamic link saying something like this:

 

http://maps.google.com?to=<?php echo $to; ?>&from=<?php echo $from; ?>

 

that all works fine i've done it all before....but not with google maps.

 

Does anyone know the two variables in google maps that it uses for the TO and FROM variables?

 

Uhh, i feel like im not making it clear  :-[

 

is the "TO" variable TO or A or 1 or.....

like i mean this:

 

http://maps.google.com?to=<?php echo $to; ?>&from=<?php echo $from; ?>

 

Im not sure if those are the ones that google maps uses. Can anyone help me?

 

If u need more clarification i'll try my best  :P

 

thanks  :)

Link to comment
https://forums.phpfreaks.com/topic/98402-question-about-php-google-maps/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.