Good tutorial. We can add a little improvement to avoid the next and previous buttons work if we are at the first or last page. Adding the classes and a condition to elements we can solve this:
@mmrayhanparvez39645 жыл бұрын
thanks for the help
@learnWebCoding5 жыл бұрын
Thank you! Yes, it's good practice too..
@الذكاءالصناعى-غ7ج Жыл бұрын
the script not working properly and the pagination not change updated to the the other pages the disable at the start work but many problems done in script
@yasin_osman4 жыл бұрын
Thanks for the tutorial, i learned pagination from you and used it on my nodejs project. Very clear directions and explanation. Thank you so much
@learnWebCoding4 жыл бұрын
You are welcome!
@MicroDobb4 жыл бұрын
for infinity next and prev buttons for my projects i used tihs: after this- $prev = $page-1; $next = $page+1; -----add this ------- if($page == $pages){ $next = 1; $next = ($next); } if($page == 1){ $prev = $pages; $prev = ($prev); } it can use for sliders on php.
@samoli02 Жыл бұрын
Finally i found what i need for the project, thank you for the video
@bagichainfosif53075 жыл бұрын
Thank you very much sir, best pagination tutorial for PHP Developer
@الذكاءالصناعى-غ7ج Жыл бұрын
the idea is very good but not suitable for me as beginer
@AmolImpal5 жыл бұрын
मला PHP Dynamic Pagination Topic वर मिळालेला सर्वात सोप्पा आणि बेस्ट व्हिडीओ. असेच व्हिडीओ उपलोड करत राहा सर. धन्यवाद.
@learnWebCoding5 жыл бұрын
Sure.. Thank you..!!
@MarioMaier5 жыл бұрын
Thanks, best pagination tutorial for PHP!
@learnWebCoding5 жыл бұрын
Thank you!
@showunmioludotun35385 жыл бұрын
Nice tutorial. You just rescued me
@getmyuted5 жыл бұрын
not everyday you can see someone make a tutorials with php MySQL
@suleimanabdullahi3190 Жыл бұрын
Great piece, jQuery tables have a few challenges, this is what i was looking for.
@KingstoneJob Жыл бұрын
Very Good Introduction
@_danishlaeeq4 жыл бұрын
Finally got a tutorial with prev and next feature
@jameskillian29792 жыл бұрын
great tutorial, you really made every thing easy.
@ashwanigupta28383 жыл бұрын
Great Explaination. It works..
@dayveed1173 жыл бұрын
Thank you, great video! I tried to implement this approach but there is one small problem that i have run into. The $limit variable is not consistent across pagination navigation. In a situation where my query has 50 rows in total and I choose a limit of, for example 5, the page would reload with 5 rows and 10 pages in total. If i choose another page, the limit would is reset into the default value. How can i make the $limit value consistent across pages?
@behappypro2 жыл бұрын
Facing the same problem. Did you find a solution?
@montukhanpathan6130 Жыл бұрын
Same problem I faced
@الذكاءالصناعى-غ7ج Жыл бұрын
the downloaded script not working properly as we add css files but actually no change
@jhackbak80564 жыл бұрын
Thank you so much this tutorial made my day
@iliganjohncarlo23753 жыл бұрын
the page number won't show only the previous and next, what will i do?
@ktechsols4 жыл бұрын
thanks sir , this is a good learning video
@neoaq44084 жыл бұрын
I can't thank you enough
@THEHISTORY_TV6 жыл бұрын
Nice tutorial, add search for that video 👍👍👍👍
@learnWebCoding6 жыл бұрын
Thank you!
@francoisbeerten9205 жыл бұрын
@@learnWebCoding :As Rolly wrote, would it be possible to enter a search assignment? Since I have a database of more than 9000 records and I don't show every field of every record in this bootstrap, would it be interesting to be able to click on a record - e.g. the unique id number - to see a detail of this particular record, but with all available 9 fields, including the 2 fields that contain a picture?
@zamiramuradxanova5242 Жыл бұрын
thank you so much
@الذكاءالصناعى-غ7ج Жыл бұрын
the previous button must be disable in beginning and the last page must disable the next button this video is very important but we need an Arabic video if y can ???
@afsalpa315 жыл бұрын
i want to show only 1 to 5 pages in my gallery. So how can i hide remaining pages. If i use next button then show all pages... Any way this is a good tutorial.. and please help me that problem. thank u sir.
@mithunmiah75622 жыл бұрын
Why you did not add first and last button for go directly first page and last page data
@วีรภัทรสมคํา-ซ6ถ2 жыл бұрын
Thank you
@suhakim50724 жыл бұрын
Thank you,sir
@bstechideas21732 жыл бұрын
Thank you so much!
@mr.RAND55844 жыл бұрын
How to do it with fetch api, or axios or jquery ajax? I want load all 100 rows once. Then with pagination controlled by javascript. Can we do it with reactjs? I want once refresh only.
@eldhokuriakose5 жыл бұрын
Sir you haven't given the href="../library/css/bootstrap.min.css" and src="../library/js/jquery-3.2.1.min.js" in GitHub
@learnWebCoding5 жыл бұрын
You can download these files from there official website.
@dhamo6353 жыл бұрын
Thanks for Source! (code)
@sanketsaitawdekar44404 жыл бұрын
when i am on page 1 and if i press previous it will go on page=0 and give error. and also if i am on page 20 and if i press next it will go on page=21 which does not exists and it will show no records. i don't want to happen anything when i press previous on 1 and next on 21 but it is happening. how to solve this?
@Rameshkumar-ef9ws4 жыл бұрын
i solvr this problem
@justapasserby4453 жыл бұрын
its so good but I need a Laravel 8 code....
@dhirajpardeshi85983 жыл бұрын
I have 200 records i gave limit as 24 but still i can see only 23 in each page could you please help
@bnlovesyou22412 жыл бұрын
i think you should put a ... instead of limit
@Rameshkumar-ef9ws4 жыл бұрын
hello sir problem occur when i click limit number of row successful showing but when i click on next or previous button it show static limit how to fix dropdown limit on next and previous button
@sankarapandiyan21024 жыл бұрын
Yes i am also having the same problem please .. say how to resolve it
@MichaelLabastida-v1m Жыл бұрын
Your making this video, but your not explaining where did you get the $_GET[''page'[
@hafizowais71124 жыл бұрын
All Pagination is working but ($customers = $result->fetch_all(MYSQLI_ASSOC);) generate a Fatal error: Uncaught Error??? how to resolve this?
@zaib52634 жыл бұрын
13:28 Is it possible without jquery only with php?
@ashkanahmadi4 жыл бұрын
You can do that with vanilla js
@OpinionOutposts4 жыл бұрын
I want drag and drop html edit by php and my sql like wix ,how can i do this? please sir make video on this topic
@abbasmosavi26524 жыл бұрын
hi sir i have a question how can i limit display pagination number like this: < 1 2 3 4 5 ....... 56 > showing all number of page not good how can i decrease number? please help me tnx
@bedigu12154 жыл бұрын
@prithwirajdutta38275 жыл бұрын
Thank you.
@devesh214 жыл бұрын
How to show fixed number of pages and update on next only?
@ionut12345678910116 жыл бұрын
hello, great tutorial, can you make a tutorial with shopping cart php mysql and ajax? Please SIR! THANK YOU!
@learnWebCoding6 жыл бұрын
Already have here: Shopping cart with payment gateway integration in php and mysql: kzbin.info/aero/PLCakfctNSHkFHI-KgsMXbQUNl6zg0fv8I
@ionut12345678910116 жыл бұрын
@@learnWebCoding that tutorial i think it`s a little harder for beginners you are using OOP with classes, i mean something php,mysql,ajax more simplified for beginners.THANK YOU!
@zerotik-creator4 жыл бұрын
Thanks..
@fjb465 жыл бұрын
HI, I have a problem displaying names with a special character such as: ç , é, è, ö, ' is there a solution to this problem? Thanks anyway for your instructions....... Paco
@ericksonmwendwa7215 жыл бұрын
Add this to your php code 'mysqli_set_charset($db, "utf8");' *change $db to your mysqli_connect variable
@huangyitong85695 жыл бұрын
@@ericksonmwendwa721 Thanks! You saved my life:)
@blackcoder36385 жыл бұрын
Brother, I want to create a pagination with 20 limit per page why i will do ?
@lipinnambiar5 жыл бұрын
How to hide the next and previous button if no further pages available?
@ericksonmwendwa7215 жыл бұрын
ul.pagination li:first-child, ul.pagination li:last-child{display: none;} ;change 'ul' to 'ol' if you are using orderd lists, which you should😊😊😊
@sanketsaitawdekar44404 жыл бұрын
@@ericksonmwendwa721 your answer is non understandable.
@ckgringoblogger91705 жыл бұрын
Hi, thanks for the amazing tuto, can i ask you: when im on page-1 and click previous i go to page-0 but im getting this error: Fatal error: Call to a member function execute() on boolean in, i may doing something wrong? Thanks.
@Alice-vi5cl4 жыл бұрын
Hey you are doing nothing wrong, you can try an if, like: just before the a href..
@Tahuta_Universe3 жыл бұрын
then file database? where?
@jeremymarshall52073 жыл бұрын
I used this to prevent infinite Previous and Next clicks $previous = ($page == 1) ? 1 : $page - 1; $next = ($page == $pages) ? $pages : $page + 1;
@brahimnkhili70575 жыл бұрын
it's not working, you gave all details about code
@Rameshkumar-ef9ws4 жыл бұрын
i copy yr file show sane problems
@jamlookstech49484 жыл бұрын
i want to show only 1 to 5 pages in my gallery. So how can i hide remaining pages. If i use next button then show all pages... Any way this is a good tutorial.. and please help me that problem. thank u sir.