Re: array encapsulate
| From: | Bill | Date: | Sat, 13 Sep 2003 00:26:05 +0000 |
| Subject: | Re: array encapsulate | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162485@lists.php.net to get a copy of this message | ||
How do I know it won't just assume that $_POST["detail"][11][116] means the
116th character in the string $_POST["detail"][11]?
"Larry E . Ullman" wrote:
> > if ($_POST["detail"][11][116] &&
> > !$_POST["detailtext"][19][114]) {
> >
> > How can I encapsulate the array so it is a multi-dimensional array and
> > not just
> > a string length?
>
> I'm not exactly sure what you're array structure is but that syntax is
> correct.
> $_POST['key1']['key2']...
>
> Larry