|
Posted by Tim Burgan on 02/24/05 08:12
Hello,
I have a string:
$str = '<p>This is a paragraph<p><?php echo \'hello\';
?>';
Which I convert using:
html_entity_decode(stripslashes($str));
Which result in:
<p>This is a paragraph</p><?php echo 'hello'; ?>
But.. I was the PHP tags to STAY ENCODED like:
<p>This is a paragraph</p><?php echo 'hello'; ?>
How do I do this..?
Thanks
Tim
Navigation:
[Reply to this message]
|