NYCPHP Meetup

NYPHP.org

[nycphp-talk] <textarea><?=$variable2?></textarea>

Rob Marscher rmarscher at beaffinitive.com
Sun Nov 6 22:38:42 EST 2011


On Nov 6, 2011, at 10:34 PM, tuon1 at netzero.net wrote:
> echo "<textarea name=example2 value=<?=$variable2?>  rows=10 cols=50></textarea>";
>  
> Some reason only example1 input box gets populated and exampl2 showed nothing.
> Any idea?

Content goes inside the textarea block element:
echo "<textarea name=example2 rows=10 cols=50><?=$variable2?></textarea>";


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20111106/5d8b024c/attachment.html>


More information about the talk mailing list