Results 1 to 3 of 3

Thread: [RESOLVED] If/Then Statement

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Resolved [RESOLVED] If/Then Statement

    What is this line used for? can some one explain it to me?

    PHP Code:
    $var = (isset($_GET['var'])) ? true false
    i can see something with if it is set then do something...
    My usual boring signature: Something

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: If/Then Statement

    It means if '$_GET['var']' is set than $var = true else $var = false.

  3. #3

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: If/Then Statement

    ah thanks!
    My usual boring signature: Something

Posting Permissions

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



Click Here to Expand Forum to Full Width