Re: why doesn't this work ?
| From: | John W. Holmes | Date: | Sat, 17 Apr 2004 17:31:45 +0000 |
| Subject: | Re: why doesn't this work ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183724@lists.php.net to get a copy of this message | ||
Pooya Eslami wrote:
If I put the following script in a .php file it would work but if I put it in an .html file doesn't work, why? script tag is only used in .html file.You web server determines whether or not to look for PHP in a file based upon its extension. You must set up your web server to look for PHP code in .html files. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com