|
|
|
|
|
|
|
|
|
|
|
- PHP Tutorial -
Steps : - Make the layout with no content in it, just a plain layout. - Where you want the content to appear you insert this <*?php include ("$page"); ?*> but without the *'s. - Save that page as main.php - Now create a page with just content in it, no layout just a regular page with content only, and name it whatever you like. - Upload both to your host and then type in the your url like this, http://www.yourhost.com/main.php?page=whatever.htm now where it sez www.yourhost.com you put in your url where your hosting is and also whatever you called the page in the last step you replace with whatever.html and if you change your url correctly, go to it and see if it worked. Thanks to |