2005-10-23, 12:26 AM
Hello,
I would like to display some news from a third-party script on the homepage of my forum (index.php). The code that I have to use is something like:
How would I be able to use that in my index page? When I add it to the index.php file, it does not display where I want it to on the page (of course).
What I would like to do is have something like "$news" added to a template, and the news would appear on the index. Could anyone help me with this? Thanks in advance for any replies!
I would like to display some news from a third-party script on the homepage of my forum (index.php). The code that I have to use is something like:
include("path/to/show_news.php");
How would I be able to use that in my index page? When I add it to the index.php file, it does not display where I want it to on the page (of course).
What I would like to do is have something like "$news" added to a template, and the news would appear on the index. Could anyone help me with this? Thanks in advance for any replies!