Also noted the
Shouldn't that be page_num?Code:if ($page_num > 1) {
$prev = $pag_nume ...
}
Now as far as the page not showing up anything (just blank), or is it showing up the page links at least? Nowhere in your code (the code you posted at least) does it show anything about displaying (spelling?) stuff.
It could be something else in your code (the part[s] you are not posting.
Hope this helps.

