Tried, but now nothing shows except >", so it's probably one quote off or something?
Chris
$map_link = "http://www.google.com/maps?q=".str_replace(" ","+",$vs_current_listing['loc1'])."+".$vs_current_listing['zip'];WagonTrader wrote:Mapping outside of the united states does present some unique problems, namely for google it must have the country along with the province as you noted. If your country will always be New Zealand then this can be hard coded into the map link (no need for the additional field). Another approach to try would be to pass only the address1 field, which is the complete address, like this...
- Code: Select all
$map_link = "http://www.google.com/maps?q=".str_replace(" ","+",$vs_current_listing['address1']);
The question is will google be able to decipher the address... I don't know but it seems like it should.
Dave
$var=$language->desc("location",$lang_set,$vs_loc_sel[0])Users browsing this forum: No registered users and 1 guest