Jump to content

Table background stretching


graham01

Recommended Posts

Yes it is, but this has nothing to do with PHP, you would use CSS.

 

<style type="text/css">

.bg {
   background-image: url(background.jpg); 
   background-repeat: repeat-x;  ## Or you could set it to repeat "y" to go the other direction
}

</style>

$result = mysql_query("SELECT review.date,review.time,customer.firstname,customer.surname,review.review

FROM customer,review where customer.customerid=review.customerid order by review.date,review.time DESC");

 

$num_rows = mysql_num_rows($result);

 

echo "There are $num_rows reviews.<P>";

 

while ($get_info = mysql_fetch_array($result)){

 

echo "<table height=120 width= 900 border=1 class=review><tr>

      <td width=200><font face=arial size=2>$get_info[0] at $get_info[1]</font></td>

      <td width=100><font face=arial size=2>$get_info[2] $get_info[3]</font></td>

      <td width=500><font face=arial size=2>$get_info[4]</font></td>

      </tr></table>";

     

}

 

 

 

 

its basically for displaying the reviews on a website for a business, but i want them to be displayed on a picture of a scroll with the size of the scroll depending on the amount that is displayed

 

thanks

  • 2 weeks later...

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.