04-08-2009, 12:13 AM
|
#9 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by WebSavvy
@allworknoplay -- that class doesn't call from the db at all. If he has an example there, it's another option not a requirement.
The class actually reads the folder/file structure from the server itself.
Years ago when I first wrote my directory script, I used that class and it worked fine. I was new to php back then and have learned tons more since.
I no longer use any classes for navigation, I get all the data I need from one pass to the db and it's called from another external file based on location of the master page. It's all done using a templated system with mod_rewrite -- which I wrote myself.
Anyway, it was just an example to provide you with a little more information regarding the usage of breadcrumbs.  One size does not fit all.
|
Oh no I understand, I guess I failed to mentioned I was reading another article that used DB's, so that's why I mentioned the database...I like the file/directory structure the best, at least so far from what I read, it seems efficient.
I'll have to put this into practice so I get a full understanding... 
|
|
|
|