Reply to Re: HTML call

Your name:

Reply:


Posted by Jerry Stuckle on 07/25/06 01:55

Pat wrote:
> Hello,
>
> I have a question in regards to the use of php and html. The question
> is: can someone write a script separate from the html page and then call
> the script in like in a css style and use the values in the html page?
> If so how?
>
> I am just learning php and am not ignorant to programming, but I would
> use a function or created class in the separate file but how would you
> call the php file into the html file is what's killing me.
>
> I hope that makes sense and I hope someone can at least point me in the
> right direction to find the answer; because, to me putting all the code
> in an html document is redundant especially on the oop side.
>
> Thank you,
> Patrick

From HTML you can include a PHP file with SSI - Server Side Includes, i..e

<!-- include file="myfile.php" -->

See SSI documentation for your server for more information and/or follow
up in alt.html.

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

[Back to original 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

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