Yes.. the way to do this is to first make sure you have a session variable created when you authenticate the user. There's always at least one (I am sure you have user_ID for example, although I am not sure of the naming convention). For the purpose of this instruction, let's say it us "user_ID" that gets set as a session variable when someone logs in.
Now, if your site doesn't have user levels and anyone - just as long as they are logged in - is allowed to see the full 25 rows, then you just need to check that the session variable exists.
So your code would look like this:
if ($_SESSION['user_ID']) {
$maxRows_WADA<YOUR_RECORDSET_NAME> = 25;
} else {
$maxRows_WADA<YOUR_RECORDSET_NAME> = 5;
}
No you have created an if statement that will check for the session variable of user_ID which can only be set when someone logs in and then will display 25 records. If the variable is not set, it will only show 5.
Cheers,
Brian