"Get directions" is not remembering the from address

Just the City and ZIP. This can confuse customers.

I have noticed it in all the sites runing this software.

for example:

enter your own address and try to get directions to the nearest store:
http://crystaldawn.net/phpGoogleStoreLocator

is there a way to fix it?

Hmm, I've never noticed that

Hmm, I've never noticed that before! Thats been in there for a long time. I'll fix it and post the fix here.

Ok, heres what the deal is. In the form I use "address" for the street address when I had intended to call the street address field "street". The real fix is to go through the whole application and change all references of address to street. But it really isnt affecting anything with the way its setup right now EXCEPT for the get directions link. So the quick fix for your particular problem is this:

Change the $_POST value of street to address on line 478 in phpGoogleStoreLocator.php :

<?php
$_POST
[street] $_POST[city] $_POST[state] $_POST[zipcode] $_POST[country]
?>

To this:

<?php
$_POST
[address] $_POST[city] $_POST[state] $_POST[zipcode] $_POST[country]
?>

Thank you. I will try it

Thank you.

I will try it out.