[php] Can someone explain this for me?


echo ( isset( $_POST['var'] ) ) ? $_POST['var'] : $_POST['var'];

I’ve seen it all through phpBB, and I do know that it checks if $_POST['var] is set, but why the second $_POST['var]? Why the colon? I’m self tought when it comes to php, and I have never found a referance to this method.