davithedork Posted April 19, 2007 Share Posted April 19, 2007 hi, i'm doing pagination, i was wondering if someone could help me? i'm kind of stuck. how do i display 10 pictures, but have 5 picture in the first row, and 5 the row right below it? but still work with pagination? thank you. here is code i got so far: echo "<div align='center'>"; echo "<table border='1' width='400'>"; echo "<tr>"; echo "<td>dask</td>"; while($row = mysql_fetch_array($sql)){ echo "<td width='10%'align='center'><font color='#FFFFFF'>"; echo "<table border='1' width='100%'>"; echo "<tr><td><font color='#FFFFFF'><center>"; echo "<img src='{$row['pix1']}' border='0' width='115' height='140' </a>"; echo "</center></td></tr>"; echo "</table>"; echo "</td>"; } and the site looks like this: www.downtownfashion.net/girl.php Link to comment https://forums.phpfreaks.com/topic/47668-tables/ Share on other sites More sharing options...
trq Posted April 19, 2007 Share Posted April 19, 2007 Check out this example in the FAQ / Code Snippet forum. Link to comment https://forums.phpfreaks.com/topic/47668-tables/#findComment-232780 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.