I am having an issue outputting any of the html. The function outputs fine. I have tried echoing each line of html with no luck as well. What am i doing wrong. Thanks for any help.
My output should look like thisPHP Code:<?php if (my_function() !== null) : ?>
<div class="list">
<p class="clickable">Click To Find</p>
<ul class="collapse">
<?php my_function (); ?>
</ul>
</div>
<?php endif; ?>
HTML Code:<div class="list"> <p class="clickable">Click To Find</p> <ul class="collapse"> <li>my function</li> </ul> </div>



Reply With Quote


..

Bookmarks