Posted by frizzle on 03/13/06 11:37
desh wrote:
> hello
>
> How to retain the values in form tag ,in case user enter wrong
> information.
Not sure if this is what you mean but:
<form action="processpage.php" method="post" name="form" target="_top"
id="form">
<input name="email" type="text" id="email" maxlength="80"<?php echo(
isset( $_POST['email'] ) ) ? ' value="'.$_POST['email'].'"' : ''; ?>>
</form>
(3 lines actually, but google breaks 'em up ...)
Frizzle.
Navigation:
[Reply to this message]
|