Hello,
I've got a php form processing question. I've got a text field like so:

<div>
<label for="txtname">Name*:</label>
<input type="text" name="name" id="name" size="30" value="<?php echo
htmlspecialchars($_POST['name']), ENT_QUOTES, UTF-8; ?>" /> <br />
</div>

My question is what is the purpose of the id field? I know the name
field is what php references, but am not sure what id is for?
Thanks.
Dave.

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

Reply via email to