This will solve part of it:
<table width="86" border="0" align="center">
<?php
$count = 0;
while($show_std = mysql_fetch_assoc($get_stds)) {
if ($count % 4 = 0)
echo '<tr>';
echo "<td class='std_success_td'><img class='stdpic_success' src='uploads/{$show_std['std_pic']}' /></td>";
if ($count % 4 = 3)
echo '</tr>';
$count++;
}
?>
</table>
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Nice catch, although you missed the similar issue in line 6.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875