webdevised Posted September 25, 2006 Share Posted September 25, 2006 hello everyone.. i am new to PHP and i have a quick questions..how do i code a page that have more then one page in it... like in the install page it first says ""would you like to install. if so, click install below"" then have the "install" link go to the install part on the same page... but after you click install button the first statement goes away and the new one comes up that says blah blah tables have been created...i know how to install the table code.. i just don't have to have two install files....and ideas?? Quote Link to comment https://forums.phpfreaks.com/topic/21930-multi-pages-in-on-php-page/ Share on other sites More sharing options...
php_coder_dvo Posted September 25, 2006 Share Posted September 25, 2006 use "include" exsample : include("name_of_the_external_page.php"); Quote Link to comment https://forums.phpfreaks.com/topic/21930-multi-pages-in-on-php-page/#findComment-98001 Share on other sites More sharing options...
webdevised Posted September 25, 2006 Author Share Posted September 25, 2006 i know that way.. i want to have only one file...i would like to use [code]if ($_GET['page'] == 'install')[/code] code... you know?? Quote Link to comment https://forums.phpfreaks.com/topic/21930-multi-pages-in-on-php-page/#findComment-98003 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.