Jump to content

Large list and subnav


shag

Recommended Posts

I have been working on a website and now I am at the point where I need to add a roster of about 100 names along with bios. I was wondering what the best way to go about creating such a large list would be so it did not look too terrible. I also have navigation to pages setup as ?page=brothers and I wanted to add a subnav to the brothers to include their name like: ?page=brothers&name=shag I did some searching but could not find anything that looked like it would work. Any tips and help are greatly appreciated.

Link to comment
Share on other sites

Sorry if I was unclear.  Basically I am building a roster, which contains roughly 100 names.  I need a way to list these nice and neat so the website does not look bad.  I have my navigation setup to the page as site.com/?page=brothers  Now when you click one of the names on the roster I would like it to be...  site.com/?page=brothers&name="theirname".  Does that make more sense?

Link to comment
Share on other sites

This is my current navigation and as of right now I have no code for the names as I am not sure the best way to go about listing so many...

 

<?php 
  $page = $_GET['page'];
  if($page){  
  $site = file_exists($page.'.php') ? $page.'.php' : 'error.php';}
  else{
  $site = 'home.php';      
  }
  include($site);
  ?> 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.