RE: [PHP] Using PHP to read style sheet -- create drop-down?

2003-07-03 Thread Sævar Öfjörð
Sorry, my bad. Replace $hm with $file[$i]. $hm was for my testing purposes and I forgot to change it :) -Original Message- From: J J [mailto:[EMAIL PROTECTED] Sent: 3. júlí 2003 02:34 To: [EMAIL PROTECTED] Subject: RE: [PHP] Using PHP to read style sheet -- create drop-down? It's

RE: [PHP] Using PHP to read style sheet -- create drop-down?

2003-07-02 Thread Sævar Öfjörð
Sure. You should use file functions like http://is.php.net/manual/en/function.fopen.php http://is.php.net/manual/en/function.fread.php or http://is.php.net/manual/en/function.file.php to read the file and then maybe http://is.php.net/manual/en/function.preg-match.php to extract certain