Is this the right format? When i try to use it it gives me a blank page with no error msg.
$type = $row['page_type'];
$art = "Article";
$vid = "Video";
$pho = "Photo";
$link = "Link";
if ( $type === $art ) {
$page = "art.php";
} elseIF ($type === $vid) {
$page = "vid.php";
} elseIF ($type === $pho) {
$page = "photo.php";
} else {
} elseIF ($type === $link) {
$page = "link.php";
} else {
echo("Error");
}