Here is the code i was using. to pull the loop and add the url. I was using the same code to call the fullpage link just without the loop. [code] //select everything to display $query = "SELECT * FROM credits ORDER BY id ASC"; $results = mysql_query ($query); //now we must count how many rows are in the db. $num = mysql_num_rows($results); //we have our data so we can close the db. mysql_close(); //Display the results. //run a loop to show all results $i=0; while ($i < $num) { $id = mysql_result($results,$i,"id"); $name = mysql_result($results,$i,"name"); $position = mysql_result($results,$i,"position"); $tagline = mysql_result($results,$i,"tagline"); $bio = mysql_result($results,$i,"bio"); $photo = mysql_result($results,$i,"photo"); //now display the form ?> <link href="styles.css" rel="stylesheet" type="text/css" /> <div align="center"> <table width="350" border="0" cellpadding="5" cellspacing="0" class="outlinebox"> <tr> <td width="110" align="left" valign="top"><img src="../headshots/<? echo $photo;?>" width="110" height="168" /></td> <td width="220" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><p><? echo $name;?></p></td> </tr> <tr> <td><img src="nav/images/spacer.gif" width="5" height="5" /></td> </tr> <tr> <td><p><? echo $position; ?></p></td> </tr> <tr> <td><img src="nav/images/spacer.gif" width="5" height="5" /></td> </tr> <tr> <td><p><? echo $tagline; ?>... <span class="fullbiolink">[<a href="../../inc/credits-full.php?id=<? echo $id;?>">more</a>] </span></p></td> </tr> </table></td> </tr> </table> </div> <br /> <? //this will repeat the table until all rows are displayed. $i++; } ?> [/code]