Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-06-2001, 02:57 PM   #1
Member (12 bit)
 
fatboyjim's Avatar
 
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.
fatboyjim is offline   Reply With Quote
Old 11-06-2001, 04:35 PM   #2
Member (13 bit)
 
DrZaius's Avatar
 
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
DrZaius is offline   Reply With Quote
Old 11-06-2001, 04:57 PM   #3
Member (9 bit)
 
Join Date: Aug 2001
Posts: 394
Send a message via ICQ to Eric H. Send a message via AIM to Eric H.
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.
Eric H. is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:11 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2