right i cant with this out im not that advance with php but have a basic grasp
im trying to get a link to change content in one section of a table i have created this making my whole chaning content across multipul pages easier.
in the table field ittself i have the following coding
<?php
switch($page) { default: include('home.php');
break; case "home": include('home.php');
break; case "events": include('events.php');
break; case "brews": include('brews.php');
break; case "gallery": include('gallery.php');
break; case "map": include('map.php');
break; case "newsletter": include('newsletter.php');
break; case "contact": include('contact.php');
}
?>
ive tried linking as ?page=gallery
also index.php?page=gallery
even going to the webaddress with ?page=gallery on the end of it
but it never shows anything but home.php in the table field