You are here: Re: html code from folder « All PHP « IT news, forums, messages
Re: html code from folder

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация