zorgon Posted April 21, 2007 Share Posted April 21, 2007 Hi I have been learning php and mysql for the past few months and learnt to display, add and modify data etc on web pages. The part that I struggle with is setting up a simple web page with menu links I set up a table with ID MENU PAGETEXT I want to display all in the menu field down the left hand side as links and each link when clicked displays the page data. eg. Home Welcome to my home page About Info etc So when About is clicked it will load up another php page using id as key and display the about info from the database. This sounds simple to do as most php pages seem to be setup something simliar but yet I struggle to find any good tutorial on this subject just a basic menu and text. Any help would be appreciated! Regards Link to comment https://forums.phpfreaks.com/topic/48008-php-noob-trying-to-make-a-basic-web-page-and-menu/ Share on other sites More sharing options...
clown[NOR] Posted April 21, 2007 Share Posted April 21, 2007 you should look into include() $id = $_GET['id']; include($id.".php"); or something like that Link to comment https://forums.phpfreaks.com/topic/48008-php-noob-trying-to-make-a-basic-web-page-and-menu/#findComment-234641 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.