Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: hello world.

  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool hello world.

    First post :)

    $n00b = 1 ;
    echo "I'm a n00b, " ;
    $c00L = 2 ;
    echo "I'm not c00L. " ;
    $judge = 3 ;
    echo "Don't judge me." ;

    First script :/
    I wanted to do an if else...but I couldn't figure that out an hour into it. I pretty much just have a php reference book.

  • #2
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    but i pretty much rule.
    I pretty much need to buy a book. That pretty much sucked.

  • #3
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,371
    Thanks
    8
    Thanked 1,075 Times in 1,066 Posts
    Let Google be your reference book.

    Put "PHP" first, then the command you are looking for,
    like this: http://www.google.com/search?source=...earch&aq=f&oq=

    The first "hit" will most likely be from the php.net website.
    That's the definitive PHP online manual. So, you click that link ... like this:
    http://php.net/manual/en/control-structures.else.php

    Many script examples, plus the official command definition and usage.

    Use that for all of your PHP command questions.



    .

  • #4
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,132
    Thanks
    12
    Thanked 332 Times in 328 Posts
    Quote Originally Posted by mlseim View Post
    Put "PHP" first, then the command you are looking for,
    like this: http://www.google.com/search?source=...earch&aq=f&oq=
    as a shortcut, all functions and many topics are directly available. type "http://php.net/" + function-name (e.g. php.net/array-pop or php.net/pdo or php.net/operators)
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer


  •  

    Tags for this Thread

    Posting Permissions

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