turpentyne
11-09-2011, 11:16 PM
I'm hoping somebody can point me in the right direction. I have search results that display in a long-scrolling list. is there a way to have this echo into a new column of text every 20 results, for example?
For reference, here's what i have now:
echo "<td valign=top width=190>title<br><font size=1>";
while($row = mysql_fetch_array($quer4)) {
if($row[id]==@$cat){echo "<input type='checkbox' name='option1' value='$row[id]'>$row[Name] <BR>";}
else{echo "<input type='checkbox' name='option1' value='$row[id]'> $row[Name] <br>";}
}
echo "</font></td></tr></table>
For reference, here's what i have now:
echo "<td valign=top width=190>title<br><font size=1>";
while($row = mysql_fetch_array($quer4)) {
if($row[id]==@$cat){echo "<input type='checkbox' name='option1' value='$row[id]'>$row[Name] <BR>";}
else{echo "<input type='checkbox' name='option1' value='$row[id]'> $row[Name] <br>";}
}
echo "</font></td></tr></table>