Re: why doesn't this work ?
| From: | John W. Holmes | Date: | Sat, 17 Apr 2004 19:19:52 +0000 |
| Subject: | Re: why doesn't this work ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183742@lists.php.net to get a copy of this message | ||
Pooya Eslami wrote:
I took out the scrip tags and put in <?php in the beginning and ?> at the end, but it returns this: $file "; } } closedir($handle); } echo " "; ?> Any ideas how to fix this?Use a .php extension on your file. Or you can ask your hosting company to have .html files processed as PHP, but they won't. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com