Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2010
    Orlando, FL
    Thanked 8 Times in 8 Posts

    Question How does the [PHP] tags work here in codingforums

    I was wondering how somebody might be able to do the recognizing text between the php tags and making it into colored text in its own colored area like codingforums has done.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,733 Times in 4,695 Posts
    This is better done with server-side coding. PHP or ASP or JSP or whatever.

    It *can* be done in JS coding, but since you will need to pull the data from a database or whatever, why not do it server-side?
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts