webdev007
Programmer
- Sep 9, 2005
- 168
I seem not to grasp the concept very well!
I try to remove <P> and </P>
Using this:
It does not generate any error, but does not work
// del <P> and </P> in IMG editor
$search = array (
'(<P>)',
'(</P>)'
);
$replace = array ('' );
$text = preg_replace($search, $replace, $thumb);
// end del P
I try to remove <P> and </P>
Using this:
It does not generate any error, but does not work
// del <P> and </P> in IMG editor
$search = array (
'(<P>)',
'(</P>)'
);
$replace = array ('' );
$text = preg_replace($search, $replace, $thumb);
// end del P