Jump to content

tables


davithedork

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.