|
Posted by Obiku on 11/26/07 16:04
Jerry Stuckle schreef:
> richard wrote:
>> On Sun, 25 Nov 2007 14:29:13 -0800 (PST), NC wrote:
>>
>>> On Nov 25, 2:00 pm, eswa <e...@email.it> wrote:
>>>> How can I write a php code that when it is include in a html page it
>>>> create a menu link automatically, reading from a main folder its
>>>> subfolder and html files?
>>> You can't include PHP code into an HTML page.
>>>
>>> Cheers,
>>> NC
>>
>> No? suggest you read up on php. PHP is somewhat like javascript in
>> that it
>> is incorporated into the html coding, except that you, the user, is not
>> aware that it is there.
>>
>
> Sorry, I agree with NC. You can't include php code in html pages,
> unless you really screw up your configuration. You should include php
> code in phyp files.
>
If you put your php script between <script> tags, it can be in you html
Navigation:
[Reply to this message]
|