coldfiretech Posted August 30, 2008 Share Posted August 30, 2008 okay i was wondering if you can format the text that is to be printed in an echo function.. basically i want to echo $text but i want $text to be in verdana, at 8pt instead of ms san serif or whatever the heck it is.... anyone?? Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/ Share on other sites More sharing options...
genericnumber1 Posted August 30, 2008 Share Posted August 30, 2008 that would be html/css. echo '<p style="font-family: verdana; font-size:8px">'.$text.'</p>'; or echo "<p style='font-family: verdana; font-size:8px'>$text</p>"; Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/#findComment-629948 Share on other sites More sharing options...
coldfiretech Posted August 30, 2008 Author Share Posted August 30, 2008 i cant believe i even asked that question! long day! thank u Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/#findComment-629953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.