hehe here is a lil' example... not that great, but hey lets do what we can, and I will write a program later...
<?php
class HTML {
function fontColor($color="black", $size="-1", $text="text") {
return("<font color=\"$color\" size=\"$size\">$text</font>");
}
}
$html = new HTML;
echo $html->fontColor("red", "+2", "Just some text, just an example... not a great one either<Br>");
Sorry for the bad example, lol... but you can do so much more with Classes... I will write a tutorial on them later. 🙂