• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chronological order of data base on the date

#11
I got 4 pages now sir instead of 2 pages. And again the last entry of the previous page repeats on the next page. I hope you can help me with this. I highly appreciated your help sir.
Reply

#12
(12-07-2018, 12:11 PM)jreklund Wrote: That's strange. It dosen't stop the loop. How many pages did you get? More than 3 I take it?
Just for the sake of it. Try your code and delete the extra <tr> inside your if statements. In case I made an error on my if statement.

Now it's working sir. Remove the extra tr and td. But the problem is that now my first page is limited to 10 entries the 2nd page got 19 and the last page is 5 which it could be only to pages only. I would like to have 18 entries on the 1st page and this would be arrange by date. The oldest date would be the 1st entry and so on. Waiting for your help sir. Thanks in advance.
Reply

#13
Sir it's working now perfectly I just forgot to remove $i++ after I remove it it's working perfectly. I'm very thankful to you sir. God bless you.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.