Jump to content

Table background stretching


graham01

Recommended Posts

You probably shouldn't be using tables anyways. If the information is information that is tabular in nature, then its ok. But if you are doing it to layout your site, you are using tables wrong and should look into some CSS tutorials.

Link to comment
Share on other sites

$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

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.