Ok I'm getting urls from my database and displaying them on the page but the only way I know how is across or down and I was wondering if anybody knew how to display the images like
1 2
3 4
instead of
1234 or
1
2
3
4
here's my code:
Note, Connecting data wasn't added in.PHP Code:// Display Data
$get = mysql_query("SELECT * FROM pictures LIMIT $start, $per_page");
while ($row = mysql_fetch_assoc($get))
{
// Get Data
$url = $row['url'];
$name = $row['name'];
echo "<img src='$url' width='100px' height='100px' alt='$name' border='1'><br />";
}





Reply With Quote

