note 47736 rejected from function.include by sean
| From: | sean@php.net | Date: | Sat, 27 Nov 2004 04:37:21 +0000 |
| Subject: | note 47736 rejected from function.include by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81088@lists.php.net to get a copy of this message | ||
Note Submitter: darkness1ph at yahoo dot com
----
I was trying to use the code bellow but when I open all the pages, the default page is still the one
will show. What I like to show is all the pages I made but it won't appear but only for the
default page I'm using. Please help me what script to use and how to link all pages. coz
I'm only using one template then all pages will appear.
<?php if(!$id || $id == ""){$id = "home";} ?>
<?php include ("$id.php");?>