Help with some PHP code?

Status
Not open for further replies.
Didnt really know where to put this, but here goes...

I have a few pieces of PHP code than I need solving first off is this, I need the text to display in Red and also italics. Its simple if you know how but unfortunatley I dont, anyone out there?

I have so far:

<?php

function nSFont ($txt,$size,$italics,$colour)

{
echo ("<font size=\"$size\"face=\"Helvectica,Arial,Sans-Serif, red, italics\">
$txt,<?font>");
}
nSFont ("What You Looking At?<br>",10);
nSFont ("YOU!<br>",6);
?>

But all i get is the text in normal black font, any help would be great?
 
no, you need help with HTML and style sheets, as your example code
has the wrong < font ...> code.

Once again, this is not a forum for programming assistance
 
Status
Not open for further replies.
Back