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
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to