After more than 3 hours searching in google, I found that ppl do the other way around of what I am doing but anyway, here is what I want to do:
I have a variable $location which contains an HTML code (embedded google map code) i.e.
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0"
marginwidth="0" src="https://www.google.com/maps/ms?........in a larger
map></iframe>
now in a php code, how can i get the map to be displayed? the following outputs the HTML code as text
<?php echo $loation; ?>
Thanks!
$loation;- should be$location;. Assuming you set your variable correctly like$location = '...';, you should be fine. Can you please post the code where you set the variable?