Jeff Taylor wrote:
Yeah I have, but what I dont understand is that the value of $name is an
object, and was accepted in the original array as the index:
the original array was:
$me = new Toon(,xxx,xxx,,xxx,etc,etc,etc)
$him = new Toon(xxx,xx,x,etc,etc,etc,etc)
$array=array
On Sat, 2007-03-10 at 16:39 +1100, Ryan Fielding wrote:
> 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 in
> >>
Yeah I have, but what I dont understand is that the value of $name is an
object, and was accepted in the original array as the index:
the original array was:
$me = new Toon(,xxx,xxx,,xxx,etc,etc,etc)
$him = new Toon(xxx,xx,x,etc,etc,etc,etc)
$array=array($me,$him)
So this
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 in
This usually means that you are using a non-scalar value as an index.
Use var_dump
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 in
This usually means that you are using a non-scalar value as an index.
Use var_dump( $array ) to see what's in
5 matches
Mail list logo