asevie Posted March 28, 2013 Share Posted March 28, 2013 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? Link to comment https://forums.phpfreaks.com/topic/276276-php-variables-into-an-iframe-link/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.