Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: dianely fattal on 21-10-2010 07:39:56 PM hello, I have a problem I am developing an application with "php" and "sqlserver" to add a directory to your cisco phone, the phone only supports 32 records, when more than 32 should add a button "NEXT" someone could help me?
Thanks Dianely
Subject: RE: Add Directory Replied by: robin russell on 22-10-2010 10:11:05 AM Dianely There is no shortcut to this. Your php application will have to provide the first 32 records from your database to the cisco phone, you can add a softkey with a URL to request the next 32 records which your php application will provide from your database. Make sure you put a previous softkey also to go back to the previous 32 records. Regards Robin
Subject: RE: Add Directory Replied by: dianely fattal on 22-10-2010 03:06:54 PM Hi Robin: Thank you for your answer, I already add the softkey to show the next 32 records, when I press the button for the first time, the cisco phone show the next 32 records, but when I press the button again, did not show the next 32 records.
Any idea about this issue?
Dianely
There is no shortcut to this. Your php application will have to provide the first 32 records from your database to the cisco phone, you can add a softkey with a URL to request the next 32 records which your php application will provide from your database. Make sure you put a previous softkey also to go back to the previous 32 records.
Regards
Robin
Subject: RE: Add Directory Replied by: Sascha Monteiro on 24-10-2010 09:25:18 PM Can you share the code please, it seems like you haven't implemented pagination correctly what is the querystring for when you select the next softkey? it should have page=2, or start=33 then on the next page it will need to be increased to page=2 or start=65 for the next softkey, and page=1 or start=1 for the previous softkey (and last page won't show next ofcourse hope this makes sense
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: