Re: Dynamic menu
| From: | Dan Joseph | Date: | Mon, 19 Jul 2010 15:17:30 +0000 |
| Subject: | Re: Dynamic menu | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307005@lists.php.net to get a copy of this message | ||
On Sat, Jul 17, 2010 at 5:17 PM, jordan <jovanovjoce@gmail.com> wrote:
> I am new in this group and first whant to say hello to all.
> Need me menu who have different link if user is login or logout, something
> like dynamic menu. Somebody can tall me how can i use and create this
> menu.<http://www.php.net/unsub.php>
>
>
Well, your basic logic is:
if ( they have a session )
{
//output the menu
}
else
{
//output the other menu
}
--
-Dan Joseph
http://www.canishosting.com - Unlimited Hosting Plans
start @ $3.95/month.
Promo Code "NEWTHINGS" for 10% off initial order -- Reseller Plans also
available!
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry