Good idea, sorry I didn't do this sooner.
If you want to loop over the same result set more than once, you need to reset the internal pointer back to the first item in the array. The function to do this is mysql_data_seek. You can read about it here:
http://www.php.net/manual/en/function.mysql-data-seek.php
Here's an example:
mysql_data_seek($comments_result,0);
this basically just resets the pointer to the first item in the array so when you loop over your result, you are starting with the first item. you will need to do this each time you want to loop over the same result set.
hope this helps,
- Reuben