/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function googleMapLink($to, $from) { if($from) { } else { $startAddy = '&saddr='; } return htmlentities("http://maps.google.com/maps?f=q&hl=en&{$startAddy}{$destinationAddy}"); }