unpacking $_POST when example[1], example[2] in form.
| From: | Benjamin Edwards | Date: | Mon, 10 Jan 2005 11:50:36 +0000 |
| Subject: | unpacking $_POST when example[1], example[2] in form. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205953@lists.php.net to get a copy of this message | ||
If I have a form with elements like
<input type=text name=example[1]>
<input type=text name=example[2]>
If example was not an array it would be accessed using
$_POST["example"]
But how do I access the varable if it is an array like above.
Ben