2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by diafol
0
<?php
  $range = (isset($_GET['range'])) ? $_GET['range'] : 'men'; //men = default
?>

       <ul id="sb_home" class="sb">
		<li><a href="products.php?range=men">Men</a></li>
		<?php if($range == 'men') {echo "<ul>
				<li><a href='index.html'>Men link 1</a></li>
				<li><a href='index.html'>Men link 2</a></li>
				<li><a href='index.html'>Men link 3</a></li>
				<li><a href='index.html'>Men link 4</a></li>
			</ul>";}?>
		<li><a href="products.php?range=women">Women</a></li>
		<?php if($range == 'women') {echo "<ul>
				<li><a href='index.html'>Women link 1</a></li>
				<li><a href='index.html'>Women link 2</a></li>
				<li><a href='index.html'>Women link 3</a></li>
				<li><a href='index.html'>Women link 4</a></li>
			</ul>";} ?>
		<li><a href="products.php?range=unisex">Unisex</a></li>
		<li><a href="products.php?range=youth">Youth</a></li>
		<li><a href="products.php?range=teamwear">Teamwear</a></li>
		<li><a href="products.php?range=accessories">Accessories</a></li>
	</ul>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.