Limit Posted March 31, 2010 Share Posted March 31, 2010 <?php $action = $_GET['page']; switch($action){ // Home case home: include('pages/home.php'); break; ?> Thats what ive got so far with all my other pages etc but how do i add do aswell ive got this allready ?page=home etc etc i want this ?page=home&do=about_us Thanks. Link to comment https://forums.phpfreaks.com/topic/197155-can-anyone-help-with-switch-and-do/ Share on other sites More sharing options...
Limit Posted March 31, 2010 Author Share Posted March 31, 2010 Never mind sorted it Link to comment https://forums.phpfreaks.com/topic/197155-can-anyone-help-with-switch-and-do/#findComment-1034867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.