Posted by Fernando Rodrνguez on 01/21/06 21:24
Hi,
I'm writing a form that requires validation. After submission, the form fields
(mostly textboxes) are validated and if any is incorrect, the form is redisplayed
with all the value sin place so the user doesn't have to retype everything.
I'm achieving the latter this way:
<input type="text" name="whatever" value="<?php echo $_POST['whatever']
?>" >
This is fine with text boxes, but how can I do this with listboxes and option
buttons?
Thanks
[Back to original message]
|