F
Fusionhost Group
Any ideas why the last link is not working?
Is it because I have two elseif's?
note the others work, just the last one...
Thanks
Code:
<?php
if(empty($page)) {
include('include/news.php');
} else {
if($page==home) {
include('include/news.php');
} elseif($page==products) {
include('include/products.php');
} elseif($page==contact) {
include('contact.html');
}
}
?>
Is it because I have two elseif's?
note the others work, just the last one...
Thanks
