Fighting with Tinymce

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

Re: [8bit Pixel] Fighting with Tinymce

By gregThomas - November 26, 2012 - edited: November 26, 2012

Hi Paul,

I've done some local testing, and this should do the trick:

<?php

$filter = str_replace('</tbody>', '', $filter);
$filter = str_replace('<tbody>', '', $filter);

echo $filter;

?>


I think the str_replace you were using was looking for the forward slashes as well.

Thanks!
Greg Thomas







PHP Programmer - interactivetools.com

Re: [greg] Fighting with Tinymce

Thanks Greg, that did the trick. I always get tied up in knots with the replace function. However I think I can see what was happening.

Thanks for all the help!

Paul