Thanks for the reply and suggestion.
I tried adding the above code and it didn't work.
Before posting originally i put the above code into its own file (with nothing else other than the db query) and i still come up one row short, which is why i'm so stumped, as i think i've excluded any other parts of the program by 'testing' it this way.
Any other ways to go about the above (such as setting up a counter with the number of rows and then looping while the counter is =< the number of rows?) This seems like it would be another way to accomplish the same thing, but i'm not sure how to set up the array and use them in the code. If this is another way to go about the same thing, can you explain how i could set up the array to use format such as:
$link["$i"]
where "i" would be a counter and also act as the 'key' for the $link array (hope i got my terminology correct, but if not, hopefully you understand what i'm trying to do)
Thanks.