Opérateur ternaire en PHP :
<?php 
// Example usage for: Ternary Operator
$action = (empty($_POST['action'])) ? 'default' $_POST['action'];

// The above is identical to this if/else statement
if (empty($_POST['action'])) {
    $action 'default';
} else {
    $action $_POST['action'];
}?>

Pour mettre avec isset :
<?php
$datas = (isset ($_POST["source"])) ? $_POST["source"] : "";
Issu de http://fr2.php.net/manual/en/language.operators.comparison.php