Anything inside that textarea actually get's displayed. So they will actually see that HTML.
I don't know of a way to actually highlight sections within the text area, and I don't think there is one. You could highlight the text outside of the textarea though.


Jon


bruce wrote:

hi..

i'm presenting a textarea to the user...

i'd like to be able to display the information within the textarea in a
<table> format. this would allow me to highlight the material that the user
should modify. however, i can't figure out how to accomplish this...

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

something like the above, but without displaying all the attrib stuff...

any ideas/pointers would be appreciated..

thanks

-bruce




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



Reply via email to