Re: RE: yes and no buttons and posting

From: Date: Thu, 09 May 2002 17:14:24 +0000
Subject: Re: RE: yes and no buttons and posting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96838@lists.php.net to get a copy of this message
On Thu, 9 May 2002, baldey_uk wrote: > Hello again, i am trying to do as said below but have a problem. Is there > anyway to say 'go to this page in PHP' without using headers as i would like > to use relative URL's and not abolsute ones. Also is this fine that the code > here is all on the same page or do i have to have the form posting to a php > page and then do the swtich case from there? If you don't mind having the buttons on separate lines (or you will use a table to put them on the same line), then just use two different forms: <form action="yespage.html"> <input type="submit" name="x" value="Yes"> </form> <form action="nopage.html"> <input type="submit" name="x" value="No"> </form> miguel

« previous php.general (#96838) next »