I have quite a few if statements I have been hopeing to make more, readable, and understandable, they aren't difficult, just... ugly.. I have seen the "alternate if statements" like $var ? "Stuff" : "blah"; I was wondering if this could be shortened, or done differently? ($room->north is 0 or 1), and $dir is a GET variable, (later will be POST)...

PHP Code:
if($dir) {
   if(
$dir == "north" && $room->north) {
      echo 
"You are attempting to move north.<br>";
   } elseif(
$dir == "north" && !$room->north) {
      echo 
"The room does not have a north here.<br>";
   }
   if(
$dir == "east" && $room->east) {
      echo 
"You are attempting to move east.<br>";
   } elseif(
$dir == "east" && !$room->east) {
      echo 
"The room does not have a east here.<br>";
   }
   if(
$dir == "south" && $room->south) {
      echo 
"You are attempting to move south.<br>";
   } elseif(
$dir == "south" && !$room->south) {
      echo 
"The room does not have a south here.<br>";
   }
   if(
$dir == "west" && $room->south) {
      echo 
"You are attempting to move west.<br>";
   } elseif(
$dir == "west" && !$room->west) {
      echo 
"The room does not have a west here.<br>";
   }
#Update database here..


Thank you for any help.