note 29087 added to function.include

From: Date: Sat, 01 Feb 2003 18:05:25 +0000
Subject: note 29087 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-43260@lists.php.net to get a copy of this message
a simple querytag include would be if ($page == null) { include ('home.php') } else { include ($page); } ... place that where you want your content to appear, and set your hyperlinks to index.php?page=content.php and if no querytag is given, the script will include home.php -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+29087 http://master.php.net/manage/user-notes.php?action=delete+29087 http://master.php.net/manage/user-notes.php?action=reject+29087

« previous php.notes (#43260) next »