Jon101
06-03-2008, 08:34 PM
Heres my code:
<?php
$_CFG['MENU'] = array ('home','about','owners','clubs','deal','history','gallery','contact');
if (isset($_GET['page']) and $_GET['page']!="") { $page=$_GET['page']; }
if (!isset($page)) {$page = 'home';};
if (!isset($subh) || ($subh != 'chrysler' && $subh != 'ford' && $subh != 'gm')) {$subh = 'chrysler';};
if ($page != 'gallery') { include ("template.inc.php");} else { include ("gallery.php");};
?>
The $subh is supposed to switch on click between three pages but for some reason it wont change from "chrysler".
The address in the addressbar is chanigng but the actual page isnt...
any ideas?
Let me know if you need more info.
Thanks!
<?php
$_CFG['MENU'] = array ('home','about','owners','clubs','deal','history','gallery','contact');
if (isset($_GET['page']) and $_GET['page']!="") { $page=$_GET['page']; }
if (!isset($page)) {$page = 'home';};
if (!isset($subh) || ($subh != 'chrysler' && $subh != 'ford' && $subh != 'gm')) {$subh = 'chrysler';};
if ($page != 'gallery') { include ("template.inc.php");} else { include ("gallery.php");};
?>
The $subh is supposed to switch on click between three pages but for some reason it wont change from "chrysler".
The address in the addressbar is chanigng but the actual page isnt...
any ideas?
Let me know if you need more info.
Thanks!