Mailinglisten-Archive |
> - Über Parent abbilden
*******
Ach ja,
Tabelle sieht z.B. so aus
CREATE TABLE directory (
catid int(8) unsigned NOT NULL auto_increment,
name varchar(50) NOT NULL,
topid int(8),
depth int(4) unsigned NOT NULL,
num_listings int(8) unsigned NOT NULL,
allow enum('YES','NO') DEFAULT 'YES' NOT NULL,
position int(8) unsigned NOT NULL,
PRIMARY KEY (catid)
);
catid = ist wohl klar
name = ebenfalls
topid = Eltern-catid - oberste Ebene topid=0
depth = Ebene
num_listings = Anzahl der aktiven Einträge
allow = sind Einträge erlaubt
position = Wiedergabeposition falls es nicht alphabetisch sein soll
Gruesse
Helmut P. Fleischhauer
php::bar PHP Wiki - Listenarchive