What does PHP do?

Discussion in 'Programming General' started by Inventor, Sep 3, 2009.

What does PHP do?
  1. Unread #1 - Sep 3, 2009 at 4:52 AM
  2. Inventor
    Referrals:
    0

    Inventor Guest

    What does PHP do?

    I see PHP tags in vbull and I have no idea what they do.

    I'm not sure if this is a programming question or what but I'm sure people here would know.

    If anyone has the answer, please pm it to me.

    Thanks,
    Ethan
     
  3. Unread #2 - Sep 3, 2009 at 6:05 AM
  4. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    What does PHP do?

    it's the same as code, but the code you place in it is colored, like an editor - but you can't edit it.

    Code:
    <?php
    echo date("Y/m/d") . "<br />";
    echo date("Y.m.d") . "<br />";
    echo date("Y-m-d")
    ?>
    PHP:
    <?php
    echo date("Y/m/d") . "<br />";
    echo 
    date("Y.m.d") . "<br />";
    echo 
    date("Y-m-d")
    ?>
    tada
     
  5. Unread #3 - Sep 3, 2009 at 6:15 AM
  6. Inventor
    Referrals:
    0

    Inventor Guest

    What does PHP do?

    What's the purpose of color coded tags?
     
  7. Unread #4 - Sep 3, 2009 at 6:23 AM
  8. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    What does PHP do?

    Well, on any other forum (where they are colored correctly and don't screw wtih your eyes) it makes it easier to read... At least I think so.
     
  9. Unread #5 - Sep 3, 2009 at 8:05 AM
  10. speedster239
    Joined:
    Jan 21, 2007
    Posts:
    313
    Referrals:
    0
    Sythe Gold:
    0

    speedster239 Forum Addict
    Java Programmers

    What does PHP do?

    PHP (hypertext preprocessor), as you may know, is a scripting language used to run tons of online sites, including this very forum itself. The
    PHP:
     tag is used to highlight the syntax of the scripting language itself.

    For 
    example:
    Strings are highlighted in red:
    [
    PHP]"string"
    Functions in blue:
    PHP:
    echo data()
    It just makes it easier to interpret when you're programming in it and posting your code on the forums to share with others.
     
  11. Unread #6 - Sep 3, 2009 at 10:21 AM
  12. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    What does PHP do?

    Its supposed to make them easier to read... So you can pick parts out of the code very quickly... But with the dark blue background... It kinda fucks it up... >_>.
     
  13. Unread #7 - Sep 3, 2009 at 12:30 PM
  14. Dreadsthegreat
    Joined:
    Apr 19, 2006
    Posts:
    119
    Referrals:
    0
    Sythe Gold:
    4

    Dreadsthegreat Active Member

    What does PHP do?

    PHP:
    echo ":(";
    :(
    The tag can help when smileys get in the way.
     
  15. Unread #8 - Sep 4, 2009 at 2:48 AM
  16. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    What does PHP do?

    [​IMG] :(
     
  17. Unread #9 - Sep 4, 2009 at 9:33 PM
  18. Inventor
    Referrals:
    0

    Inventor Guest

    What does PHP do?

    In other words.. It's totally useless
     
  19. Unread #10 - Sep 4, 2009 at 11:16 PM
  20. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    What does PHP do?

    Not if your posting PHP code... >_>. You can kinda see stuff better in it. Lol.
     
  21. Unread #11 - Sep 9, 2009 at 1:03 AM
  22. ofail
    Joined:
    Jul 7, 2009
    Posts:
    532
    Referrals:
    5
    Sythe Gold:
    0

    ofail Forum Addict

    What does PHP do?

    It's used for most sites that require a log in. Like all forums use it, and people who phish use it also. That's about all I know. :p
     
< Geometric Calculator [first program] | My first program >

Users viewing this thread
1 guest


 
 
Adblock breaks this site