You are here: Re: PHP "within" HTML « All PHP « IT news, forums, messages
Re: PHP "within" HTML

Posted by -Lost on 07/01/06 02:25

"Lee" <jlspires@comcast.net> wrote in message
news:yuKdnbvikPHASjjZnZ2dnUVZ_q6dnZ2d@comcast.com...

> I'm asking this for 'verification", also for a "how to" if you can. Can't you use PHP
> code 'inside' of HTML? For instance your page is built as html, within the html coding,
> placing <?php ---- ?>.

Yes!

AddType application/x-httpd-php .htm (or .html OR both!)

This needs to be placed either in an .htaccess or within the configuration file for your
server.

> If so, what i'm trying to do is read and display from a text file in a particular area.
> Would like for it to do like a "scroll" effect to display 'news'. Thanks for the help in
> advance.

Use the CSS properties overflow, width and height to achieve a scroll effect (by using
either, auto or scroll as the attribute).

-Lost

 

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

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