<p> tag not working on href

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 6, 2008   (RSS)

Re: [chassa2556] <p> tag not working on href

By Dave - November 6, 2008

Hi chassa2556,

Looks like summary is a wysiwyg fields and has it's own <p></p> tags around the content. Try this to remove the tags:

<?php echo strip_tags($customRecord['summary']) ?>

Just replace your current tag with that.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] <p> tag not working on href

Brilliant thanks Dave that fixed it