|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
includes in HTML
I am starting a website for my Half Life clan =MPC=
I cannot get the news script to work, it says you have to type (with the first bracket the right way round) >!-- #include virtual="news.php" --> I have tried this but it doesn't seem to include the php doc, which i know exists and works if I type it in the URL bar Thanks,
__________________
Jim Last edited by fatboyjim; 11-06-2001 at 03:01 PM. |
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Since you are using PHP then you can just use the PHP include method:
Code:
<? php include("news.php"); ?>
__________________
"A witty saying proves nothing." - Voltaire |
|
|
|
|
|
#3 |
|
Member (9 bit)
|
if your index or wherever you're trying to load the news into. looks like you're trying to use SSI... make sure your server can support it.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|