note 29086 added to function.include

From: Date: Sat, 01 Feb 2003 18:03:49 +0000
Subject: note 29086 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-43259@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+29086 http://master.php.net/manage/user-notes.php?action=delete+29086 http://master.php.net/manage/user-notes.php?action=reject+29086

« previous php.notes (#43259) next »