Try using a while loop
Sample will be something like this:
while ($data=mysql_fetch_array($res) ){
do some stuff here
}
Hope this helps
Laura Brandt
--
Aletia Hosting - Full-Featured, Superfast Web Hosting
PHP, MySQL, Perl, Multiple domain support and more.
200MB + 10GB Transfer at $9.95/mth
http://AletiaHosting.com - AIM: AletiaCorp
Email: sales@aletia.net