Re: recursion?????

From: Date: Fri, 14 Feb 2003 12:58:34 +0000
Subject: Re: recursion?????
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94241@lists.php.net to get a copy of this message
Hello, please forward user questions to the php-general@lists.php.net mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Thu, 13 Feb 2003, Alex Davis wrote: > Ok ... here is the sitituation... I am creating a registration form. > What I have so far works ... the user registers using this form and the > form calls another page that will check the validity of the data > (checking for username availability, etc...). If there is an error, > display the error and have the user GO BACK AND TRY AGAIN <----- This is > the problem I want to fix. > > What I want to do is have the registration form, on submit, check the > data validity right then, if there is an error, redisplay the form with > an * next to the field that is incorrect. This way the user does not > have to go back and try again, it will be there in front of them. > > Basically, have the form action call itself .... hince the recursion. > > Any suggestion/examples? > > Thanks, > > -Alex > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.dev (#94241) next »