On Thu, Nov 20, 2003 at 11:22:02AM +0200, Veress Berci wrote:
:
: Scuse me, if I write some totally dumb thing.
: I am quite new to PHP and programming, and maybe I'm not understanding
: the question, but:
:
: What if you assign a value to every form field like this:
:
: <input type="text" name="something" value="<?php echo $something; ?>">
:
: or - safer, with register_globals off:
:
: <input type="text" name="something" value="<?php echo $_POST['something'];
: ?>">
Actually, you can do one more thing:
<input type="text" name="something" value="<?php echo
htmlentities($_POST['something']); ?>">
: Again, please apologize, if i'm stupid.
Ummm, what is the question? :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php