In article <[EMAIL PROTECTED]> wrote "Ron
Goral"
<[EMAIL PROTECTED]>:
> Can someone please tell me why the following code only returns the last element in
>the referenced
> array? If I put the foreach routine inside the while loop, I get a printout of each
>element in
> both the $sqlRes refer
Can someone please tell me why the following code only returns the last
element in the referenced array? If I put the foreach routine inside the
while loop, I get a printout of each element in both the $sqlRes reference
and the $colNames reference. But, if I print outside the while loop, I only