Re: html to php with echo <<<
| From: | Erwin | Date: | Tue, 03 Sep 2002 10:15:27 +0000 |
| Subject: | Re: html to php with echo <<< | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115001@lists.php.net to get a copy of this message | ||
Adi wrote:
> I try to transform a html file in -php file, but i have errors in
> it("Error in page.")
> Where is mistake?
On my machine their both good.
But a question raises? Why do you use echo in this case?
Why don't you just give the filename the extension .php? Just rename the
file from index.html to index.php.
HTH
Erwin