Hello!, this is just a quick question about the Store Locator example
with PHP and MySQL on the developers guide...

Whenever I follow the code as described... I get the error messages
when I run my php script (test it in the browser) saying that the
following are not definied variables...

$center_lat = $_GET["lat"];
$center_lng = $_GET["lng"];
$radius = $_GET["radius"];

Here is the examples pages...

http://code.google.com/apis/maps/articles/phpsqlsearch.html


I am assuming from following the code that I do not define them myself
but are defined (hence the comment saying "get parameters from URL")
However I am not quite sure what it means by getting them from the URL
(what URL?) ... My code works fine if I delete these variables from my
PHP script.. however I would like to use the radius (haversine
formula) function and I am assuming these are needed for that...
Unfortunately I do not have an online version of my site to show you
but I was wondering if you could help me with these as I am really
struggling...

Thanks
John Eastham

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to