NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Number of records in browse
« previous
next »
Print
Pages: [
1
]
Author
Topic: Number of records in browse (Read 3567 times)
bergsj
Jr. Member
Posts: 81
Number of records in browse
«
on:
October 05, 2009, 09:51:46 AM »
Hello,
Does anyone know how to get the number of records inside the browse? Not the one on the page, but the total of the filtered browse. So I can let the user know how many records there are.
Greetz.
Sjoerd
Logged
Greetz,
Sjoerd
Alberto
Hero Member
Posts: 1873
Re: Number of records in browse
«
Reply #1 on:
October 05, 2009, 12:52:55 PM »
Hi,
You can take a look to my post:
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=656.0
It can give you some ideas.
Cheers
Alberto
Logged
-----------
Regards
Alberto
bergsj
Jr. Member
Posts: 81
Re: Number of records in browse
«
Reply #2 on:
October 06, 2009, 12:01:45 AM »
Thanks, Alberto
This did the trick. Did you also manage to get the total pages?
So you can show the user: Page: 1 of 10 or something.
Logged
Greetz,
Sjoerd
Alberto
Hero Member
Posts: 1873
Re: Number of records in browse
«
Reply #3 on:
October 06, 2009, 01:52:05 AM »
Well... TotalPages is TotalRecords/RecordsPerPage, just add the variable and the code to my example and you are done.
Alberto
Logged
-----------
Regards
Alberto
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Number of records in browse