html code from folder

html code from folder

am 25.11.2007 23:00:17 von Eswa

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?

bye bye

EswA

--
ESWA

Censimento Rifiuti Salento: http://www.flickr.com/photos/15103736@N03/
MeetUpSalentiniUnitiConBeppeGrillo:
http://beppegrillo.meetup.com/167/boards/

PersonalSite: http://eswa.altervista.org
eMail: eswa@email.it
Skype: eswa79

Re: html code from folder

am 25.11.2007 23:29:13 von nc

On Nov 25, 2:00 pm, eswa 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

Re: html code from folder

am 26.11.2007 02:02:35 von unknown

Post removed (X-No-Archive: yes)

Re: html code from folder

am 26.11.2007 03:08:43 von Jerry Stuckle

richard wrote:
> On Sun, 25 Nov 2007 14:29:13 -0800 (PST), NC wrote:
>
>> On Nov 25, 2:00 pm, eswa 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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: html code from folder

am 26.11.2007 17:04:51 von Obiku

Jerry Stuckle schreef:
> richard wrote:
>> On Sun, 25 Nov 2007 14:29:13 -0800 (PST), NC wrote:
>>
>>> On Nov 25, 2:00 pm, eswa 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