question colon in coding

RizbIT

Member
What exactly does this coding mean?
Code:
$string = (isset($_POST['string'])    ? $_POST['string']    : 'empty');
 
Top