Jump to content

Real Simple Question


ChompGator

Recommended Posts

Hey,

 

I have a script here, and the HTML text is displaying in a small enough size, I just want to get the data within the table that PHP is displaying to display in a smaller font..I want to reduce it to about a 9...But Ive tried adding a few different commands within my PHP and I can't get the text within my <?php  ?> tags  to display smaller - Was hoping someone might be able to help me out, here's the script:

 

<table> 
<tr> 
<td align="center">Legion Members</td> 
</tr> 
<tr> 
<td> 
<table class="style9"> 
<tr> 
<td class="style10">UID </td> 
<td class="style10">First Name</td>
<td class="style10">Last Name</td> 
<td class="style10">Email</td> 
</tr> 
<? 
mysql_connect("**","***","***");//database connection 
mysql_select_db("***"); 
                 
$order = "SELECT * FROM users ORDER BY UID";  	                 
$result = mysql_query($order);   
while($data = mysql_fetch_row($result)){ 
  echo("<tr><td>$data[0]</td><td>$data[6]</td><td>$data[7]</td><td>$data[1]</td></tr>"); 
} 
?> 
</table> 
</td> 
</tr> 
</table> 

 

Oh, and the Column lines arent displaying at all...:(

 

Link to comment
https://forums.phpfreaks.com/topic/123154-real-simple-question/
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.