Mega Code Archive

 
Categories / Php / Functions
 

Function printing text on a Web Page

<HTML>   <HEAD>   <TITLE> Printing text on a Web Page </TITLE>   </HEAD>   <BODY>   <?php   function textonweb ($content, $fontsize) {      echo "<FONT SIZE=$fontsize>$content</FONT>";   }   textonweb ("A <BR>", 7);   textonweb ("AA. <BR>", 3);   textonweb ("AAA. <BR>", 3);   textonweb ("AAAA! <BR>", 3);   ?>   </BODY> </HTML>