I want to do somehting like this... Heres what I got going on.
I'm doing a linux how-to site. (never enough how-to sites  )
Each how-to is in html format. they are named like this Athlon-Powersaving-HOWTO.html
What I would like to happen is for php to look in the how-to dir and list them on a page is alphabetical order while stripping part of the name off them.
So it would look like this.
Code:
ACPI
ADSL-Bandwidth-Management
ADSM
AI-Alife
ATA-RAID
ATM-Linux
AX25
instead of this
Code:
ACPI-HOWTO.html
ADSL-Bandwidth-Management-HOWTO.html
ADSM-Backup.html
AI-Alife-HOWTO.html
ATA-RAID-HOWTO.html
ATM-Linux-HOWTO.html
AX25-HOWTO.html
and I want them all to be links. and when you click on them it will open them in a new window.
Can someone show me how to do this?
|