Possible Duplicate:
What is the PHP ? : operator called and what does it do?
$id = isset($_GET['id']) ? intval($_GET['id']) : 0;
Can someone help me understand the above code? I'm fairly new to php :) What up with ?
and :
?
I would appreciate it!