What is this line used for? can some one explain it to me?
i can see something with if it is set then do something...PHP Code:$var = (isset($_GET['var'])) ? true : false;
Printable View
What is this line used for? can some one explain it to me?
i can see something with if it is set then do something...PHP Code:$var = (isset($_GET['var'])) ? true : false;
It means if '$_GET['var']' is set than $var = true else $var = false.
ah thanks!