Help with some PHP code?

Mar 30, 2007
  1. 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:


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

    echo ("<font size=\"$size\"face=\"Helvectica,Arial,Sans-Serif, red, italics\">
    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?
  2. jobeard

    jobeard TS Ambassador Posts: 8,945   +585

    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
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.