Re: multi dimensional arrays
| From: | Matt McClanahan | Date: | Fri, 15 Dec 2000 05:05:28 +0000 |
| Subject: | Re: multi dimensional arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30450@lists.php.net to get a copy of this message | ||
On Thu, 14 Dec 2000, Matt McClanahan wrote:
> This is valid:
>
> $errors[] = "<span class=error>The following errors have
> occured:</span><br> <br>\n\n";
> $errors[] = This is an error that has occured.<br>\n";
> $errors[] = This is another that has occured.<br>\n";
>
> And by extension, so is this
>
> $errors['non-critical'][] = "<span class=error>The following errors have
> occured:</span><br> <br>\n\n";
> $errors[''non-critical][] = This is an error that has occured.<br>\n";
> $errors['non-critical'][] = This is another that has occured.<br>\n";
Sigh. You'll have to excuse the typos, I'm reading php-general over ssh
while ping times to my ISP average 1049ms with 5% packet loss. :P
Matt