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:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 4:31 PM
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
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
3 matches
Mail list logo