Click to See Complete Forum and Search --> : Include PHP into (s)HTML file


lexcorp
03-03-2006, 02:37 PM
Hi --
I've got an .(s)Html page that calls a Javascript Menu -- I also want to include a Stock ticker -- (it was written in Javacsript and uses CSS and is called into a .PHP file) -- when I try to include the php file in the .shtml using:

<!--#include file="stock_ticker.php" -->

It dose not look the same as when see it on on http://www.yada.com/stock_ticker.php -- also to throws out the menu???

Is there a way to fix this??
ANY help would be awesome at this time since I have been fighting with this for a while now.

Lex

Fang
03-04-2006, 06:11 AM
<?php include('stock_ticker.php'); ?>