This is regarding the userviewer.php code (again)

but not the recordviewer part (doesn't apply to what I'm doing) ....
Is there any way of sorting the columns or the paging effect to occur without globals variables set to on? As far as I can tell, the code from the book and what I've typed in is correct.
I'm using similar code in my work right now (the sorting columns and paging when more data is to be displayed parts) and it's not working without the global variable setting in the php.ini turned on. It'll work locally (of course), but highly doubt it will work on the server (been set 'off' on the server - just checked).
I'm hoping there's a solution since in this part of the code I'm working on it is logging user sign ins and outs. Scrolling through 100+ entries on a single page doesn't seem very appealing.

That's why the paging effect is highly desirable.
Then again, if I missed the solution, please refer me to the link. Please?
Thanx.