By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,246 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,246 IT Pros & Developers. It's quick & easy.

SSI if/else includes

P: n/a
I have a number of pages that are cross linked from 2 different menus.

menu 1 : 1,2,3,4,5,cup
menu 2 : 11,12,13,14,15,cup

the cup page will be accessed from both but I need the original menu
ie 1-5 or 11-15 to remain.
I am using a query string to pass my variable

<!--#echo var="QUERY_STRING_UNESCAPED"-->
this prints the correct variable on screen - ie. menu1

<!--#if "QUERY_STRING_UNESCAPED"="menu1" -->
<!--#include virtual="/Library/menu1.lbi"-->
<!--#else -->
<!--#include virtual="/Library/menu2.lbi"-->
<!--#endif -->
I'm not a programmer(a basic knowledge)and I tend to work from
examples etc but I can't see why this doesn't work. Any suggestions
would be greatly appreciated.

Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.