View Single Post
02-15-2005, 07:42 PM
#1
sliceandcode is offline sliceandcode
Status: Request a custom title
Join date: Aug 2004
Location: California
Expertise:
Software:
 
Posts: 1,004
iTrader: 0 / 0%
 

sliceandcode is on a distinguished road

  Old  phpincluding and all that good stuff

So I'm using CuteNews for one of my sites and I want the news to display on the site without having to use an iframe so I'd have to do a phpinclude thingie..

Anyway, this is what I would have to put:

Code:
<?PHP
 $number = "5";
 $category = "2";
 include("path/to/show_news.php");
?>
The problem is that it's not in the same directory as my site so it won't show up. I'm a total newb at this and would appreciate any solutions that you guys come up for me.