Re: Recover POST form
| From: | M. Sokolewicz | Date: | Sat, 06 Nov 2004 23:14:34 +0000 |
| Subject: | Re: Recover POST form | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201383@lists.php.net to get a copy of this message | ||
Christian Ista wrote:
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.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,