For debugging purposes, if you want to see all values in $_POST use this
code:
print '';
print_r($_POST);
print '';
or this:
print '';
var_dump($_POST);
print '';
-Original Message-
From: Robin Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 4:31 PM
To: PHP General
Robin Kopetzky wrote:
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.
It's just $_POST['miles']. :)
--
---John Holmes.
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) a
3 matches
Mail list logo