RE: [PHP] Buffalo'ed, stumped, confused...
| From: | Ralph Guzman | Date: | Fri, 09 Jan 2004 23:45:40 +0000 |
| Subject: | RE: [PHP] Buffalo'ed, stumped, confused... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174182@lists.php.net to get a copy of this message | ||
For debugging purposes, if you want to see all values in $_POST use this
code:
print '<pre>';
print_r($_POST);
print '</pre>';
or this:
print '<pre>';
var_dump($_POST);
print '</pre>';
-----Original Message-----
From: Robin Kopetzky [mailto:sparkyk@blackmesa-isp.net]
Sent: Thursday, January 08, 2004 4:31 PM
To: PHP General
Subject: [PHP] Buffalo'ed, stumped, confused...
Good evening.
I'm trying to read using $_POST, 4 radio buttons named "miles". I tried
reading the selected value with $_POST['miles[0]'], etc. with no success.
I've even tried using foreach to read the selected radio button with no
success.
Help!! I'm totally stumped with this one. I thought the value was passed
back as an array but maybe I'm wrong...
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php