For this article, i have selected a table members, containing each member's pic and some other text detail. The members will be shown in multiple columns as shown in the picture below.

The technique is to use 2 loops (one nested inside the other). The outter loop creates rows and the inner loop creates columns. The only thing we have to take care of is the inner loop creates equal number of columns for each row. If there are no more records the inner loop should print a blank column. Have a look at the code blow.
<?
$query="select * from members";
$result=mysql_query($query);
$cols=3; // Here we define the number of columns
echo "<table>"; // The container table with $cols columns
do{
echo "<tr>";
for($i=1;$i<=$cols;$i++){ // All the rows will have $cols columns even if
// the records are less than $cols
$row=mysql_fetch_array($result);
if($row){
$img = $row['image_path'];
?>
<td>
<table>
<tr valign="top">
<td><img src="images/<?=$img ?>" /></td> <!-- columns can have both text and images -->
<td>
<b><?=$row['name'] ?></b><br />
<?=$row['email'] ?><br />
<?=$row['password'] ?><br />
</td>
<td width="50"> </td> <!-- Create gap between columns -->
</tr>
</table>
</td>
<?
}
else{
echo "<td> </td>"; //If there are no more records at the end, add a blank column
}
}
} while($row);
echo "</table>";
?>
We can easily achieve above result with div structure also. But to understand the technique, i have used tables. Hope it helps. Thank you!
RSS stands for Really Simple Syndication is an XML format used by publishers to keep their audience updated by publishing frequent content via RSS and content readers display latest news and content from RSS feeds, content receivers use newsreaders or content aggregators . Read More PHP RSS Feed Tutorial