On Sun, Nov 6, 2011 at 7:38 PM, Rob Marscher <rmarsc...@beaffinitive.com> wrote:
>
> Content goes inside the textarea block element:
> echo "<textarea name=example2 rows=10 cols=50><?=$variable2?></textarea>";
>
>


And you'll want to escape the value of $variable2 ... It gets really
awkward if $variable2 includes </textarea> :)

echo "<textarea name=example2 rows=10
cols=50><?=htmlentities($variable2)?></textarea>";
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to