asevie Posted March 28, 2013 Share Posted March 28, 2013 (edited) I'm trying to take two php variables for lat/long ($lat and $long) and display a small iframe with the corresponding google map. I have this after a successful insert of the user submitted lat/long... echo "<iframe src=\"http://maps.google.com/?q=$lat,$long\" scrolling=\"yes\" frameborder=\"0\" width=\"300\" height=\"400\"></iframe>"; Any idea why this doesn't display after a user successfully submits a location? Edited March 28, 2013 by asevie Quote Link to comment https://forums.phpfreaks.com/topic/276276-php-variables-into-an-iframe-link/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.