not tested 
> Basically, have the form action call itself .... hince the recursion.
> Any suggestion/examples?
<?
$field1=false;
if(isset($_POST['submit']))
{
/*check*/
if(isset($_POST['field1']) && $_POST['field1']=='okay')header('Location:  
registration.php');
else $field1=true;
}
?>
<form action=<?=$SERVER['PHP_SELF']?> method="POST">
<input type="text"  name="field1" 
value="<?=isset($_POST['field1'])?$_POST['field1']:''?>"><?=$field1?'*':''?>
<input type="submit"  name="submit" value="GO">
</form>

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

Reply via email to