this dont work any options please?
"Result below if printed"
need to replace parts of url like shown above to enter "result" into an iframe src= ????
test page= findmeaload.com/ZipFind/frame.php
this dont work any options please?
"Result below if printed"
need to replace parts of url like shown above to enter "result" into an iframe src= ????
test page= findmeaload.com/ZipFind/frame.php
For one, that's a hideous blob of text to look at. Why bother with the various echoes, when print with double-quotes is perfectly capable of doing the variable insertion itself?
print("http://maps.google.com/maps/etc....?center={$City},{$City},{$State}&zoom=etc....");
And hitting your test page spits out the following URL near the top:
http://maps.google.com/maps/api/staticmap?center=,,&zoom=14&size=500x500&maptype=roadmap&markers=color:blue|label:S|,&sensor=false
notice the center=,,
... there's no City or State there, so your $City and $State variables are empty/null. In your comment you use $city and $state - remember that PHP variable names are case sensitive, such that $City is something completely different from $city.