Question about it.... its not workin right check it out...
$c = 0;
while ($listresult = mysql_fetch_array($tablelist, MYSQL_ASSOC))
{
$listdentists .= "<td align=\"center\" valign=\"top\"><a href=\"$PHP_SELF?sec=Dentists&name={$listresult['name']}\">{$listresult['name']}<br>";
$listdentists .= "<img border =0 src=\"{$listresult['image']}\"></a>\n</td>";
if ($c == '3') {
$listdentists .= "<br>";
}
$c++;
}
I did that, but in the "if" statement, do I need to specify that if $c is greater than or equal to 3 then put the <Br> in?
If so, how would I do it because when I try like <= or >= it hasnt yet send the <br> through
Aaron