|
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
==================
Navigation:
[Reply to this message]
|