Quote:
Originally Posted by cinq
I don't think your code does what I need it to do.
I need to query 2 times first to know if there are next or previous articles available.
In your code, if($nextone) or if($previousone) has no value initially...
|
the determination of the preview or next article before hand is impossible via my way you're right i apologise, however the $next and $preview comes from the url
i.e.
HTML Code:
<a href="http://localhost/forums/article.php?a=104845&nextone">next one</a>
the code would work but not for what you need it for without getting creative in the most awesome ways imaginable :lol: joking.