You are here: Re: [newbie] how to style form with css? « PHP Programming Language « IT news, forums, messages
Re: [newbie] how to style form with css?

Posted by Bent Stigsen on 01/23/06 01:06

A.Translator wrote:
> Geoff Berrow schreef op 22-1-2006
>
>> Of course it works, php pages out put html. What isn't working?
>
>
> I am sure it works, it is me who is not working properly.
>
> What do you mean with:
> php pages out put html?

Per definition, "PHP is a server-side HTML embedded scripting
language.", which basically means that, if you take a html-page, and
change the extension to .php, then that page is a perfectly valid
php-script. You could embed PHP-code whereever you want on the page
and optionally output something at that place.
PHP can actually output any type of document/data, however for
embedded scripting, it is limited to document-formats that does not
collide with the PHP open/close tags.

To answer your original question, when using php as a server-side HTML
embedded scripting language, the browser will not see any difference
between requesting a html-page or a php-page, other than the extension
of course. Stylesheets are handled by the browser, unrelated to the
php-code at the server or the extension of the requested file.


/Bent

 

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

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