[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: ? $SQL = SELECT name FROM categories ORDER BY category_id ; $category

[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 below:

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 no idea what