• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

change font in php

scarfication

New Member
whats to command line to change the font and colour? (in php)

for example

<?php
$mtime1 = explode(" ", microtime());
$starttime = $mtime1[1] + $mtime1[0];

$mtime2 = explode(" ", microtime());
$endtime = $mtime2[1] + $mtime2[0];
$totaltime = ($endtime - $starttime);
$totaltime2 = number_format($totaltime, 7);
echo "Page Loaded in: ".$totaltime2." sec.";
?>

this script says in how maby seconds mywebsite loads but i wanne change the font en colour, how do i do that?

thnx in advandce..

scarfication
 
Here's a quick and easy way of doing it...
Code:
[b]<FONT color=#123456 face="customfont">[/b]
<?php 
$mtime1 = explode(" ", microtime());
$starttime = $mtime1[1] + $mtime1[0];
        
$mtime2 = explode(" ", microtime());
$endtime = $mtime2[1] + $mtime2[0];
$totaltime = ($endtime - $starttime);
$totaltime2 = number_format($totaltime, 7);
echo "Page Loaded in: ".$totaltime2." sec.";
?>
[b]</FONT>[/b]

:D
 
PHP:
<?php 
$mtime1 = explode(" ", microtime());
$starttime = $mtime1[1] + $mtime1[0];
        
$mtime2 = explode(" ", microtime());
$endtime = $mtime2[1] + $mtime2[0];
$totaltime = ($endtime - $starttime);
$totaltime2 = number_format($totaltime, 7);
echo "[b]<FONT color=#123456 face='customface'>[/b]
Page Loaded in: ".$totaltime2." sec.[b]</FONT>[/b]";
?>
Will this work? :confused:

[ADD]
Guess not... :eek:
 
Last edited:
Back
Top