PHP Looping a maximum of 4 times - how do I do it?

  • Thread starter Thread starter Treasure Ireland
  • Start date Start date
T

Treasure Ireland

Guest
while($row = mysql_fetch_array($result)) {

echo"<div class=\"box\">
<img src=\"images/".$row['clients_img']."\" width=\"159\" height=\"185\" />
<h4>Client:</h4>
<p>".$row['clients_name']."</p>
<h4>Date:</h4>
<p>".$row['clients_date']."</p>
</div>";

}
 
Back
Top