Christian Ista wrote:

echo '<pre>';
print_r($_POST);
echo '</pre>';


I have something like that :

Array
(
    [5980915] => on
    [ToDo5980915] => N
    [5941846] => on
    [ToDo5941846] => N
    [5916500] => on
    [ToDo5916500] => N
    [5907115] => on
    [ToDo5907115] => N
    [5900019] => on
    [ToDo5900019] => N
    [5899239] => on
    [ToDo5899239] => N
    [5897854] => on
    [ToDo5897854] => N
    [5896483] => on
    [ToDo5896483] => N
    [5893286] => on
    [ToDo5893286] => N
    [5865056] => on
    [ToDo5865056] => N
    [fa] => test
)

I'd like to access this array in a for loop from an array from 0 to ....21 (in this case). How to transform this array ?

I tried $_POST[2] but not work ....

Thanks,

look. Read a BASIC tutorial about how PHP works, and how to write scripts in PHP. Once you've done that, return here, and I guarantee you, the questions you've asked will be no more.


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



Reply via email to