Re: Troubles from the newb again
| From: | Ryan Fielding | Date: | Sat, 10 Mar 2007 05:39:30 +0000 |
| Subject: | Re: Troubles from the newb again | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250188@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
On Sat, 2007-03-10 at 15:31 +1030, Jeff Taylor wrote:Hey everyone, Newb back again - Im trying to populate my arrays, but getting this error again: Warning: Illegal offset type inThis usually means that you are using a non-scalar value as an index. Use var_dump( $array ) to see what's in there. You will probably find one of the following: an array, and object, or the null value. Cheers, Rob. A good habit to get into is always using if(is_array()) when using foreach.