shag Posted February 17, 2008 Share Posted February 17, 2008 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 https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/ Share on other sites More sharing options...
teng84 Posted February 17, 2008 Share Posted February 17, 2008 I don't understand the question ! Link to comment https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469174 Share on other sites More sharing options...
shag Posted February 17, 2008 Author Share Posted February 17, 2008 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 https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469175 Share on other sites More sharing options...
teng84 Posted February 17, 2008 Share Posted February 17, 2008 can we see your code specifically the lines that is having the link or maybe the one that display the names? Link to comment https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469176 Share on other sites More sharing options...
shag Posted February 17, 2008 Author Share Posted February 17, 2008 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 https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469177 Share on other sites More sharing options...
teng84 Posted February 17, 2008 Share Posted February 17, 2008 you need to show us how you display those name so we know how we can put links on it Link to comment https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469184 Share on other sites More sharing options...
shag Posted February 17, 2008 Author Share Posted February 17, 2008 I do not understand what you are saying... I do not have any names being displayed as I do not know how to go about listing 100 names neatly. Link to comment https://forums.phpfreaks.com/topic/91591-large-list-and-subnav/#findComment-469190 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.