Google iframe

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 17, 2013   (RSS)

By gregThomas - July 17, 2013

Hi,

The reason the code is being displayed and not decoded by the browser is because you're using the htmlencode function on $lease_warehouseRecord['google_map_new'], which coverts characters to there html safe equivalent. For example:

 <a href='test'>Test</a>

would become:

 &lt;a href=&#039;test&#039;&gt;Test&lt;/a&gt;

So you need to change your code to this:

<?php echo $lease_warehouseRecord['google_map_new']; ?>

Adding multiple iframes on a page shouldn't be an issue, so having to separate views should be possible

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com