bruce wrote:
$foo = '<table><tr><td class='red'>blah</td></tr></table>';
<textarea value='$foo'></textarea>

Everything but one thing has been said: You should always use htmlspecialchars() to output value of textarea


$foo = '<table><tr><td class='red'>blah</td></tr></table>';
echo '<textarea ...>' . htmlspecialchars($foo) . '</textarea>';

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to