Okay, stoopid question time...
My boss (who is learning PHP) wants to know if we can do something like this:
We have a function named setfont($size,$color). You pass size and color to the function and it builds a font string for you. Now, my boss is wondering if we can do something like:
print "<html code here>setfont($size,$color)<continue with code>";
The setfont() function contains a print statement that spits out the string. Is a best solution something like:
<p>
<? setfont("3","blue") >?
Test goes here
</p>
My boss is a long-time MetaHTML user so he complains about stuff he can do in MetaHTML that he can't do in PHP. So any help you can give me would be appreciated.