append beginning of wysiwyg field

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 27, 2010   (RSS)

Re: [Deborah] append beginning of wysiwyg field

By Jason - July 27, 2010

Hi,

If you could send me attach a copy of you .php file and give me a link to where the page is suppose to display, I can take a look at it for you.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] append beginning of wysiwyg field

By Deborah - July 27, 2010

Hi, Jason.

I figured out why the field wasn't displaying. My code was missing 'echo'.

Corrected code:

<p><strong>Where: </strong><?php echo $record['where_1'] = preg_replace("/^\s*<p>/i", "", $record['where_1'] ); ?>

Thanks for your offer to help!
~ Deborah

Re: [Deborah] append beginning of wysiwyg field

By Jason - July 27, 2010

Glad to hear everything is working now.

Please let me know if you run into any other issues.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/