RE: [PHP] Nested Loops
| From: | Chris W. Parker | Date: | Wed, 18 Feb 2004 22:20:12 +0000 |
| Subject: | RE: [PHP] Nested Loops | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178187@lists.php.net to get a copy of this message | ||
Alex Hogan <mailto:Alex.Hogan@AlliedElec.com>
on Wednesday, February 18, 2004 2:06 PM said:
> Do I have something wrong with my syntax?
>
> Is there an easier way to do this?
i don't know the answer to either of those questions but if it's
complaining of an undefined index you might want to try print_r() and
see what's actually stored within rs[] each pass through the loop.
even better would be to look up the mssql functions and see if there is
one that can turn your entire result set into an array with both
numerical and text indices. then you can print_r() the entire array and
see what's going on.
hth,
chris.