Andrew Kreps wrote:
I'd like to add that you can also use the following syntax for textarea fields:

<input type="textarea"><?= $_POST['hidden'] ?></textarea>

which may also get you past the quoting problem.

You mean you can use:

<textarea name="hidden"><?=htmlentities($_POST['hidden'])?></textarea>

unless you prefer depreciated code and cross site scripting vulnerabilities...

http://www.w3.org/TR/html4/interact/forms.html#input-control-types
http://www.w3.org/TR/html4/interact/forms.html#h-17.4


--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Reply via email to