I am new to PHP and wasting no time have jumped into creating my own database system. Its actually a psuedo-database, but who cares it works. I've done something some-what similar in Python but with a static single file database.
What I have is directories as like:
./1/index.listing
./2/index.listing
./3/index.listing
The numbers are a product... product 1, product 2, you know..
What I want to do is on the product category page, using:
include('./*/index.listing');
.. where * would mean for PHP to scan all relative directories and include 'index.listing', which will result in a list being built for the product category, showing all the available products.
There is probably some way to do this in MySQL, but I am already familiur with this style of database, so why waste more Saturday nights learning something I don't have to when I could be out getting drunk and partying with girls 10 years younger than me. LuLz