Hey!

Is there any way in php, to easily write this script shorter?

Code:
if(isset($row["name"])) {
$row_name = "-";
} else {
$row_name = $row['name'];
}

echo "the name is $row_name;
I am thinking possibly something like this:
Code:
echo "the name is " . ?isset($row['name']) row['name'] | "-";
So..

Always echo "the name is ", but ? (if) isset($row['name']) then echo row['name'] | (ELSE) echo "-";

Any ideas?

Cheers,
Artheus

... A little newbie question ...