Re: Form with 2 submit buttons

From: Date: Wed, 06 Sep 2000 17:22:49 +0000
Subject: Re: Form with 2 submit buttons
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15557@lists.php.net to get a copy of this message
"Samantha Savvakis" <samantha@cfs.net.au> writes: > I was doing something like this, but then I wanted to do some server side > error validation. > I think I'll end up doing it this way, as I can't see any other way to get > around it. How about giving both buttons the same `name', but different value. You can then check if the variable `name' is set, and depending on its value send a ``Location'' header to take you wherever you want. -- Arcady Genkin Don't read everything you believe.

« previous php.general (#15557) next »