note 11653 added to array

From: Date: Thu, 01 Mar 2001 10:17:19 +0000
Subject: note 11653 added to array
Groups: php.notes 
Request: Send a blank email to php-notes+get-11708@lists.php.net to get a copy of this message
If got an nice simple feature to display a dynamic navigation. Call your Website with this Adress: http://$PHP_SELF?navigationsname=News&status=on <? //////////////////// Dynamic Navigation, written by Mehdi Ayed $navigation = array("News","Infos","About"); for ($i=0; $i<count($navigation); $i++){ if ($navigationsname == $navigation[$i] && $status == "on"){ echo "<B>$navigation[$i]</B>"; } else{ echo "$navigation[$i]"; } } ?> copyright by http://www.filedesign.com http://www.php.net/manual/en/function.array.php

« previous php.notes (#11708) next »