|
Posted by Wouter on 09/08/06 11:47
On 08-09-2006 13:24, in article pan.2006.09.08.11.24.02.46855@gmail.com,
"Frel" <Frel@gmail.com> wrote:
> On Fri, 08 Sep 2006 21:19:45 +1000, Frel wrote:
>
>> Hi,
>>
>> I'm not getting php to do anything in the following index.htm script
>>
>> Php works fine as a .php script but placing it in a html script yields
>> zip, nada, zilch.
>
> I mean it prints out the stuff in htm but nothing in the <?php ..?> part
>
>> Is it a httpd problem or php.ini ???
>>
>> TIA, frel
>> =======================
>> <html><head><title>Firstpage by me served</title></head>
>>
>> <body>
>>
>> let's try that again with some php
>> <b>
>> <?php
>> print "hello php";
>> ?>
>> </b>
>>
>> </body>
>>
>> </html
>
Short answer:
Php should be in a PHP file, wich returns an HTML file to your browser.
Navigation:
[Reply to this message]
|