Re: [PHP] Re: irrational behavior

2009-05-12 Thread PJ
Shawn McKenzie wrote: > PJ wrote: > >> Could somebody please explain this? >> When the line - sort($category) is commented out, the output returns >> Notice: Undefined offset: in the line "36" for all the repeats (29 in >> this case) >> > > Sure it makes sense and is rational, you just have

[PHP] Re: irrational behavior

2009-05-12 Thread Shawn McKenzie
PJ wrote: > Could somebody please explain this? > When the line - sort($category) is commented out, the output returns > Notice: Undefined offset: in the line "36" for all the repeats (29 in > this case) Sure it makes sense and is rational, you just have no idea what you're doing :-) > The code b

[PHP] Re: irrational behavior

2009-05-12 Thread Nathan Rixham
PJ wrote: Could somebody please explain this? When the line - sort($category) is commented out, the output returns Notice: Undefined offset: in the line "36" for all the repeats (29 in this case) The code below: ", $cat, ""; $ii++; } $ii = $lastIndex; //echo $category[$ii]['category']; w