Re: [PHP] Troubles from the newb again

2007-03-10 Thread M.Sokolewicz
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)

Re: [PHP] Troubles from the newb again

2007-03-09 Thread Robert Cummings
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

Re: [PHP] Troubles from the newb again

2007-03-09 Thread Ryan Fielding
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

Re: [PHP] Troubles from the newb again

2007-03-09 Thread Jeff Taylor
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

Re: [PHP] Troubles from the newb again

2007-03-09 Thread Robert Cummings
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 This