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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php