Re: PHP is P O'd at me
| From: | Jean-Christian Imbeault | Date: | Wed, 23 Apr 2003 02:27:37 +0000 |
| Subject: | Re: PHP is P O'd at me | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144942@lists.php.net to get a copy of this message | ||
Sparky Kopetzky wrote:
Fatal error: Cannot use [] for reading in /httpd/development/web.php on line 501Just like PHP says, you cannot use [] (empty) to read, just to write to an array. If you want to read an array value you have to tell PHP *where* it is. In you code you gave dimension 2 but not dimension 1's position. You really have to give both if you want to read something ... i.e. $val = $formElement['dim1']['FieldLabel']; HTH, Jean-Christian Imbeault