RE: [PHP] easy things - forms, variable sending
| From: | Rich Gray | Date: | Sat, 23 Nov 2002 06:28:35 +0000 |
| Subject: | RE: [PHP] easy things - forms, variable sending | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125682@lists.php.net to get a copy of this message | ||
Hi
Some suggestions below...
Cheers
Rich
>This is a trivial question - what function can I use to automatically
>proceed to some link, one that can be executed without any user input.
header('Location: http://www.newurl.blah')
>How can we, most efficiently, send all the data (variables) from one
>page to another?
Many ways... here's some ... Query string, Sessions, Form Post hidden vars
>Also, would you happen to know, as PHP is very often used in forms, how
>to generate a radiobutton, which when clicked upon automatically
>proceeds and does not need a Submit button?
use javascript - onclick="this.form.submit()"