if else script to control display of form in an iframe.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 18, 2018   (RSS)

By daniel - August 17, 2018

Hello,

One way to output this sort of HTML block is to close and open the PHP tags before and after it. It would look something like this:

<?PHP if ($advertisersRecord['show_vacancy_enquiry_form'] == "1")
{
?>
<script ...></script>
<noscript>...</noscript>
<?php
}
else { echo "&nbsp;"; } ?>

Let me know if I can help with anything else!

Thanks,

Daniel
Technical Lead
interactivetools.com

That has worked beautifully thanks ever so much.