Can someone explain this line to me, so I can understand it?
To my knowledge:
$foo = isset($_POST['foo'])
- Is checking to see if $_POST['foo']
is actually set.
But what does the ? $_POST['foo'] : '';
mean?
Can someone explain this line to me, so I can understand it?
To my knowledge:
$foo = isset($_POST['foo'])
- Is checking to see if $_POST['foo']
is actually set.
But what does the ? $_POST['foo'] : '';
mean?