table row breaks, need help

From: Date: Thu, 26 Oct 2000 22:55:35 +0000
Subject: table row breaks, need help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22226@lists.php.net to get a copy of this message
How would I get this code to make a new row after displaying 4-5 images (and possibly only display 16-20 per page before ending and offering a next/previous link when necessary) __________________________________________ while($myrow = mysql_fetch_array($result)) { $style = $myrow["styleNumber"]; $name = $myrow["name"]; $type = $myrow["type"]; $birthMonth = $myrow["birthMonth"]; $birthDay = $myrow["birthDay"]; $birthYear = $myrow["birthYear"]; $birthTime = $myrow["birthTime"]; $amPm = $myrow["amPm"]; $birthCity = $myrow["birthCity"]; $birthState = $myrow["birthState"]; $url = $myrow["url"]; echo "<td align=center><a href=".$url.$style.".jpg><img src=".$url.$style."-t.jpg border=0 alt=\"$style $name $type\"></a><br><b>".$name."&nbsp".$type."</b></td>"; } echo "</tr></table></div>"; ___________________________________________ Jerry Lake - jerryl@europa.com Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com

« previous php.general (#22226) next »