Re: Buffalo'ed, stumped, confused...
| From: | Richard Davey | Date: | Fri, 09 Jan 2004 00:38:39 +0000 |
| Subject: | Re: Buffalo'ed, stumped, confused... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174080@lists.php.net to get a copy of this message | ||
Hello Robin,
Friday, January 9, 2004, 12:31:16 AM, you wrote:
RK> I'm trying to read using $_POST, 4 radio buttons named "miles". I tried
RK> reading the selected value with $_POST['miles[0]'], etc. with no success.
Radio buttons can only have 1 eventual outcome (hence the whole point
of them) and you can access it with:
$_POST['miles'][0]
Checkboxes are different and will require [] added to the form field
name.
--
Best regards,
Richard mailto:rich@launchcode.co.uk