onthespot Posted August 7, 2006 Share Posted August 7, 2006 <span class="style5"><?}echo "</td></tr><tr><td align=\"center\"><br><br>";echo "<b>Member Total:</b> ".$database->getNumMembers()."<br>";echo "There are $database->num_active_users registered members and ";echo "$database->num_active_guests guests viewing the site.<br><br>";include("include/view_active.php");?></span>[i]Can someone please help me! I want to make all the "echo" information, in a certain font, say Tahoma! Can someone please modify the code for me, would be greatly appreciated!Thankyou![/i] Quote Link to comment Share on other sites More sharing options...
trq Posted August 7, 2006 Share Posted August 7, 2006 php has no concept of fonts, that is a client side html issue. [url=http://www.w3schools/html]Here[/url] might be a good place to start learning html. Quote Link to comment Share on other sites More sharing options...
onthespot Posted August 7, 2006 Author Share Posted August 7, 2006 mate, PMSL, i no how to do html etc, im just starting at php though! but that php code, is like something that i cant seem to be able to use html on! its information requested from the DB, and therefore i cant make the font for it like i would anything else! so i was tryin to ask where i put the html? or the font face? Quote Link to comment Share on other sites More sharing options...
mainewoods Posted August 7, 2006 Share Posted August 7, 2006 replace this:[code]<td align=\"center\">[/code]with this:[code]<td align=\"center\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif;\">[/code]-inline css Quote Link to comment Share on other sites More sharing options...
corbin Posted August 7, 2006 Share Posted August 7, 2006 echo "</td></tr><tr><td align=\"center\">";echo "<font face=\"Tahoma\">";echo "Member Total: ".$database->getNumMembers()."";echo "There are $database->num_active_users registered members and ";echo "$database->num_active_guests guests viewing the site.";echo "</font>";is what i think youre looking for... Not sure though... Quote Link to comment Share on other sites More sharing options...
onthespot Posted August 7, 2006 Author Share Posted August 7, 2006 thankyou both, i used them and it worked, i will remember that for the future, cheers! Quote Link to comment Share on other sites More sharing options...
simcoweb Posted August 7, 2006 Share Posted August 7, 2006 You can also use an external CSS by just linking to it in your echo statements. Then place your 'class' tags where appropriate. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.