Jump to content

[SOLVED] chance font


sandbudd

Recommended Posts

Though I would recommend using Cascading Style Sheets, you can also do this in lieu of more work:

 

<?php
$query  = "SELECT * FROM washington_description";
$result = mysql_query($query);

while($row = mysql_fetch_assoc($result)) 
{
    echo '<span style="font-family:courier;color:red">' . $row['description'] . '</span>';
}

?> 

 

EDIT: d.shankar, the <font> tag works, but it's been depreciated as of HTML 4 by the W3C because "CSS will be used for absolutely everything." :P

Link to comment
https://forums.phpfreaks.com/topic/166288-solved-chance-font/#findComment-876915
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.