Page 1 of 1

A little help with php source. All help appreciated.

Posted: Sat May 15, 2004 3:46 am
by baks
I'm using CuteNews on my site. And have a problem with previous page/next page buttons.

I looks like this: i have two categories of news 1-Important(only 3 one the site, at the top) and 2-news(many on the site, below important) and when i added
$category = "1";
include("$path/show_news.php");

$category = "2";
$number = "5";
include("$path/show_news.php");
all news are ok but when i click "next page" important new disappear and all i see is are 5 news. What should i add to see Importants on every "next page" or "previous page" i click, too ??

all help appreciated ;)

Posted: Sat May 15, 2004 5:28 am
by launchcode
Sorry but absolutely nothing in the code you posted will allow us to tell you why the "next page" is hiding the important news :) I would imagine you don't have enough "important" articles to span 2 pages, right?

Posted: Sat May 15, 2004 5:58 am
by baks
problem is solved, thnx anyway :D