Re: Re: Fatal error: Cannot use [] for reading
| From: | Bogdan Stancescu | Date: | Fri, 11 Oct 2002 07:02:27 +0000 |
| Subject: | Re: Re: Fatal error: Cannot use [] for reading | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119610@lists.php.net to get a copy of this message | ||
Yup, that works as well. You could try a debugging echo after that line and see if it gets executed. You probably have a problem somewhere else.
Bogdan
Leif K-Brooks wrote:
$actions[] = array("display" => "Discard"); Bogdan Stancescu wrote:That piece of code works. Maybe you could be so kind as to post the exact piece of code which doesn't work? If it's not too much to ask, of course. Bogdan Leif K-Brooks wrote:Any idea what that error means? I'm trying to do something like: $array[] = array(a => "a value");