If your datasets aren't too large, you might try using fetchall_array instead of fetchrow_array to get the entire dataset. Then you can iterate over the array as many times as you like without having to talk with the database.
...roboticusIn reply to Re: loop though query results twice
by roboticus
in thread loop though query results twice
by pdmonney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |