Mark30001 Posted March 4, 2006 Share Posted March 4, 2006 Greets there! I am very new to PHP programming and to these boards.Sorry if there is a related topic. I am trying to develop my web site using PHP5, and I am currently running EasyPHP (http://easyphp.org) to view the site under my computer on the home URL: [a href=\"http://127.0.0.1\" target=\"_blank\"]http://127.0.0.1[/a].I am trying to program my pages so that it links to other sections of the site using the format: (main.php?id=topic), but I do not know how I should set this up. Is anyone able to help?Any help would be greatly appreciated! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/4063-linking-pages-in-php-mainphpid-etc/ Share on other sites More sharing options...
michaellunsford Posted March 4, 2006 Share Posted March 4, 2006 you're looking for predefined variables:[a href=\"http://us2.php.net/manual/en/reserved.variables.php\" target=\"_blank\"]http://us2.php.net/manual/en/reserved.variables.php[/a]specifically, your URL is using $_GET['id'] Quote Link to comment https://forums.phpfreaks.com/topic/4063-linking-pages-in-php-mainphpid-etc/#findComment-14096 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.