Pages 1
You must login or register to post a reply
- Registered: 2013-06-14
- Posts: 3
Topic: Problem with pagination
Hello in the index of my website i use:
<?php
$template = "article_temp";
$number = "10";
$PHP_SELF = "article.php";
include("c/show_news.php");
?>
When i click to go on page two, the URL becomes article.php?start_from=10 but i want it was index.php?start_from=10
Can someone help me?
- (lKj)
- Shoulders, toes and knees; I'm 36 degrees<3
- Offline
- Registered: 2006-12-04
- Posts: 4,470
Re: Problem with pagination
Remove the bold line with $PHP_SELF.
If you want full story links to go to another page, I'd suggest setting up a new template and using something like
[url=article.php?subaction=showfull&article={article-id}]Read more[/url]
Posts: 2
Pages 1
You must login or register to post a reply