Welcome Guest, Not a member yet? Register   Sign In
how to create pagination in codeigniter
#1

plz, help me config pagination codeigniter 3

i'm new codeigniter, i face issue in pagination codegniter, i want to create pagigation beblow


for example

 previous 12 ...56789... 15 16 next
[Image: 123.png]
Reply
#2

CodeIgniter has a pagination library to help with that ... http://www.codeigniter.com/user_guide/li...ation.html
Reply
#3

follow guide codeigniter i only create pagination below

previous 5 6 7 8 9 10 next

i want to create pagination above image

privious 1 2 ... 5 6 7 8 9 10 ..15 16 next

plz, show me to config
(11-24-2016, 10:18 AM)ciadmin Wrote: CodeIgniter has a pagination library to help with that ... http://www.codeigniter.com/user_guide/li...ation.html
Reply
#4

(11-24-2016, 10:43 AM)Actualy I had the same problem, the documentation dosen\t seem complete , you have to pass the page number and the offset to the model. Also , I found out that if you want to use the actual page numebers .. you have to calculate the offset yourself.Is there something that we should know before we read the documentation ? I coudln't find anything about the model structure for the pagination....and dosen't look like is working otherwise.Thanks.Khanh Minh Wrote: follow guide codeigniter i only create pagination below

previous 5 6 7 8 9 10 next

i want to create pagination above image

privious 1 2 ... 5 6 7 8 9 10 ..15 16 next

plz, show me to config
(11-24-2016, 10:18 AM)ciadmin Wrote: CodeIgniter has a pagination library to help with that ... http://www.codeigniter.com/user_guide/li...ation.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB