Re: yes and no buttons and posting
| From: | Jason Wong | Date: | Thu, 09 May 2002 04:27:10 +0000 |
| Subject: | Re: yes and no buttons and posting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96754@lists.php.net to get a copy of this message | ||
On Thursday 09 May 2002 09:47, baldey_uk wrote:
> Hi all again,
>
> This is probably another simple question to answer:
>
> I want to have a page where someone answers a question with a yes or no
> button, which are provided by HTML (im not sure whether it is possible to
> do this with PHP?). How with php can i say ' if they hit the HTML yes
> button, go to this page else if they hit the HTML no button go to this
> page'? Thanks again for any help!
Try:
<form action='yes.html' method='post'>
<input type='submit' value='YES'>
</form>
<form action='no.html' method='post'>
<input type='submit' value='NO'>
</form>
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
'Martyrdom' is the only way a person can become famous without ability.
-- George Bernard Shaw
*/