Forum Moderators: coopster
Here's what I mean: I have a product DB that essentially looks at the url and takes what it needs to either show you the index or an individual product. Pretty straight forward...
What I need to do, is allow, for each section of the site (product categories), the page to display a link to an article, links page or whatever. Like this:
www.site.com/normalProductIndex/34
www.site.com/normalProductIndex/articles/
BUT, only if I actually have articles for that section!
So, I was thinking of setting up a directory to house these optional extras and using is_dir() to go find if there is anything to include....
Does that make sense?
Am I overcomplicating it?
Can anyone make some suggestions?
Many thanks...
Nick
There are a number of ways to execute this. I think you're headed in the right direction.