This is the entire contents of my $_Post array
'name' => 'Jon Doe'
'email' => 'jon@jondoe.com'
'age' => 22
'action' => ''
What value will $action have after the following PHP statement is executed?
$action = (empty($_POST['action'])) ? 'default' : $_POST['action'];
If (emphasis) the code sample is the output from the $_POST array, the value after the ternary expression will be ‘default’ … though it’s worth noting that you don’t need the parentheses around the condition, so you could change it to: