Create a Search Box & Pagination in PHP using DataTable.

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 103

  • @akhilmangalan555
    @akhilmangalan555 5 ปีที่แล้ว +6

    Got the search solution..
    Place your php query inside
    Before place the for each loop
    And end the " { " after but just before...
    Tankyou

    • @mahdiceddo4205
      @mahdiceddo4205 4 ปีที่แล้ว +1

      HO MYY GODD MAASHAA ALLAH Dude it works!!!! YOU SAVED MY LIFE HOOO MAAAAAAAN !!!

    • @akbaradriansyah664
      @akbaradriansyah664 4 ปีที่แล้ว +1

      thanks brother

    • @tomtisti5464
      @tomtisti5464 4 ปีที่แล้ว +7

      @Salman Mohammed just have to move the at line 190 like that :
      "...

      ..."
      Source code is in description of this video : Part 2: Fetch Data using Bootstrap Table

    • @davebudah
      @davebudah 3 ปีที่แล้ว

      @@tomtisti5464 you are the man.

    • @lizardcute3935
      @lizardcute3935 3 ปีที่แล้ว

      tq very much

  • @arjundixit5982
    @arjundixit5982 3 ปีที่แล้ว +3

    Sir thank you so much...Aap ne bhut help ki Hain really it's very good video Dil se thanks Aap ko 🙏💗😊

  • @MuhammadNaeem-ci2df
    @MuhammadNaeem-ci2df 9 หลายเดือนก่อน

    Great Job, Well-done for the whole series.

  • @johnchintall9118
    @johnchintall9118 3 ปีที่แล้ว +4

    Hello,
    The search function and pagination is not working! Is the source code available to ensure my code is correct?

  • @rahul_thakur__
    @rahul_thakur__ 3 ปีที่แล้ว

    Thanks sir t works.
    if anyone's not working then please a proper table tag with all table tags and also with equal no. of th and td .

  • @nursabrina409
    @nursabrina409 3 ปีที่แล้ว

    Thank you, finally I can add a search function to my web project.

  • @cinematicgamex8840
    @cinematicgamex8840 4 ปีที่แล้ว +3

    this code is not working at all

  • @ShoaibxDofficial
    @ShoaibxDofficial 2 ปีที่แล้ว

    *Is there any video. Assign subject to student or assign subjet to teacher. Or show attendace % to student dashboard. Or multi dashboard videos. For admin teacher and std???*

  • @aryanchauhan9786
    @aryanchauhan9786 4 ปีที่แล้ว

    thank you so much sir your videos have saved me. Love from Singapore.

  • @kaithepallisreenivas8328
    @kaithepallisreenivas8328 4 ปีที่แล้ว +1

    heyy bro....the search box is not working properly....will u plss provide any alternative for that...

  • @glendydesabille3977
    @glendydesabille3977 3 ปีที่แล้ว

    Thank u, i've been searching for this :)

  • @andrewp1426
    @andrewp1426 2 ปีที่แล้ว

    BEST!!!

  • @wiwiyn__85
    @wiwiyn__85 3 ปีที่แล้ว +1

    mine for the datatables has appeared, but when looking for data in the Search data section the name I am looking for does not appear.. that's why, can someone help me🥺🥺

  • @The_Magic_world2880
    @The_Magic_world2880 2 ปีที่แล้ว

    Sir app is web ka bata sakte hai kese banae..
    (Despatch & receiving system in web using php,mySql )

  • @syakiradham5577
    @syakiradham5577 3 ปีที่แล้ว +1

    hello sir, my pagination and search box didn't working >.

  • @shimayousif5588
    @shimayousif5588 2 ปีที่แล้ว

    Can it will work properly in any live server?

  • @ermiasgetu173
    @ermiasgetu173 3 ปีที่แล้ว

    tank you Funda Of Web IT!

  • @radiochaabidialna
    @radiochaabidialna 2 ปีที่แล้ว

    Hello good Works, but it missing display.php ?? Thank you

  • @ianparsons4519
    @ianparsons4519 4 ปีที่แล้ว

    Excellent tutorial Thank you, I worked out how to get the search and pagination working by moving the PHP code inside the table but the edit and delete buttons only work on the first page of 10 records, would this be something you could help me with. Thanks again for a great tutorial.

  • @rajdeepdatta1297
    @rajdeepdatta1297 5 ปีที่แล้ว +1

    the datatable is working fine with normal table....but when i am applying it on a dynamic table(fetching data from database) it is not working...
    my table is a bit complex with several conditions and data from different database.

    • @eliuespinoza4016
      @eliuespinoza4016 5 ปีที่แล้ว +1

      I have the same issue. Do you if this fixable?

  • @haider0315
    @haider0315 3 ปีที่แล้ว +1

    Thank you professor for the explanation
    Professor, can you help me. I completed the deletion and modification process, but the search process did not work for me, yet I applied the lesson with you

    • @davebudah
      @davebudah 3 ปีที่แล้ว +3

      He did show the complete process but here is the trick move your foreach(query_run) into the tbody but not in the tr, do the same for the closing code of the foreach, and all will be sorted

    • @haider0315
      @haider0315 3 ปีที่แล้ว +1

      @@davebudah I did not understand you !
      Could you give me the code please please

    • @davebudah
      @davebudah 3 ปีที่แล้ว +1

      give me your email address i will send the working code

    • @haider0315
      @haider0315 3 ปีที่แล้ว +1

      @@davebudah hadoor54@gmail.com
      Thank you ❤️

    • @davebudah
      @davebudah 3 ปีที่แล้ว

      I have sent the code you can check

  • @pari5931
    @pari5931 3 ปีที่แล้ว

    Well done

  • @pathumkumara4696
    @pathumkumara4696 4 ปีที่แล้ว

    great explanations sir.i cant see next search video can you put it

  • @kisho2679
    @kisho2679 9 หลายเดือนก่อน

    how could a row data be duplicated (copied) just to be edited (updated) for a new entry?

    • @fundaofwebit
      @fundaofwebit  9 หลายเดือนก่อน

      There are many ways to achieve this.
      As you said that you can do that also.
      Just just create a checkbox in edit form, so when you click update to update the data,
      then check in your code if the checkbox is checked, created a new record else update the record.

  • @fideleimaragodet4243
    @fideleimaragodet4243 2 ปีที่แล้ว

    Thx bro

  • @dstar2211
    @dstar2211 5 ปีที่แล้ว +1

    front end site ..
    how. to add search box and paggination in div .???

  • @joshvalencia2403
    @joshvalencia2403 3 ปีที่แล้ว

    Sir i have an error , the page 1 is seems right , but when you click the 2nd page of data , the delete button cannot click . It didnt show the modal and it cant delete the data in 2nd page. Please help Sir.

    • @fundaofwebit
      @fundaofwebit  3 ปีที่แล้ว +4

      $(document).on('click', '.yourclassbtn', function () {
      //your code
      });

    • @joshvalencia2403
      @joshvalencia2403 3 ปีที่แล้ว

      @@fundaofwebit Thank you Sir .

    • @parthapaul5241
      @parthapaul5241 3 ปีที่แล้ว

      @@fundaofwebit Thank you sir. Now it is working.

  • @rizayanazhartambunan7742
    @rizayanazhartambunan7742 2 ปีที่แล้ว +1

    Ok

  • @jjfunvideos2147
    @jjfunvideos2147 3 ปีที่แล้ว

    How to put search box and paging datatables in admin panel part?

  • @shahabkhan8794
    @shahabkhan8794 3 ปีที่แล้ว

    please provide this file. I have issue in setting the links there please

  • @laibaiqbal3784
    @laibaiqbal3784 4 ปีที่แล้ว

    why youtubers teachers not add source code in description box :/

  • @AndreLuiz-ln5bm
    @AndreLuiz-ln5bm 5 ปีที่แล้ว

    Could you help me again. I have an error in pagination (appears more than 10 records per page and below does not work to change pages) and in the field search type the word and do not search what I type. And I would like to lock it to display only 10 records per page). Thanks a lot if you can help.

  • @MohamedNajathi
    @MohamedNajathi 5 ปีที่แล้ว +1

    10:43 search option doesn't work properly

    • @ibrahimsherif3261
      @ibrahimsherif3261 5 ปีที่แล้ว

      did you find a solution for that ?

    • @MohamedNajathi
      @MohamedNajathi 5 ปีที่แล้ว +1

      @@ibrahimsherif3261 yes. I found another solution. It works fine for me.

    • @JOHN-mq4pp
      @JOHN-mq4pp 4 ปีที่แล้ว

      @@MohamedNajathi bro where can i found the solution for it.... Can u pls share your code.

  • @kaithepallisreenivas8328
    @kaithepallisreenivas8328 4 ปีที่แล้ว

    i am not getting the desired output..

  • @iammo7889
    @iammo7889 2 ปีที่แล้ว

    Please someone tell me why it doesn't working

  • @babo_web_developer7527
    @babo_web_developer7527 2 ปีที่แล้ว

    how to use dwonload CDN

  • @parthapaul5241
    @parthapaul5241 4 ปีที่แล้ว

    edit button does not work after clicking next button of datatable.

    • @nojemicske
      @nojemicske 4 ปีที่แล้ว

      same here, did you find a solution ?

    • @mariyuuuuh2185
      @mariyuuuuh2185 3 ปีที่แล้ว

      same problem here

  • @bluepisces86
    @bluepisces86 3 ปีที่แล้ว

    Can you fix the bug for the next 10 records to be edited? Thanks a lot...

    • @fundaofwebit
      @fundaofwebit  3 ปีที่แล้ว +1

      $(document).on('click', '.edit_btn', function (){
      //your code
      });

    • @thanadolwianglo3900
      @thanadolwianglo3900 3 ปีที่แล้ว

      @@fundaofwebit thank

  • @hamzaliaqat9259
    @hamzaliaqat9259 5 ปีที่แล้ว

    I've tried everything ... I can not activate paging or search. Can you help me?

    • @fundaofwebit
      @fundaofwebit  5 ปีที่แล้ว +1

      To make pagination and search by datatable plugin..
      1. goto www.datatable.net cdn link.. (css, jQuery) copy n paste.
      jquery.min.js
      datatable.min.js
      2.
      3. Write the datatable function script in jQuery.
      So... there is a demo.. given in datatable.net .. how to use script for this.. to display it.

    • @hamzaliaqat9259
      @hamzaliaqat9259 5 ปีที่แล้ว

      @@fundaofwebit thanks a lot for your reply,sir when i search it always show 'No matching records found' and pagination is also not working properly, please make a complete tutorial on bootstrap datatable with export buttons,

    • @MrRonald123457
      @MrRonald123457 5 ปีที่แล้ว

      @@hamzaliaqat9259 I'm having the same problem, did you solve it already?

    • @claudiofuentes9880
      @claudiofuentes9880 3 ปีที่แล้ว

      @@MrRonald123457 same problem

  • @kisho2679
    @kisho2679 2 ปีที่แล้ว

    someone knows how PHP with PostgreSQL?

  • @TheKayanadam
    @TheKayanadam 4 ปีที่แล้ว

    INDIAN

  • @vanrajkhunti8106
    @vanrajkhunti8106 4 ปีที่แล้ว

    Plz give source code ......it will help for us to find mistek.........

  • @sahalplays2
    @sahalplays2 5 ปีที่แล้ว +3

    bro pls send me code

    • @tomtisti5464
      @tomtisti5464 4 ปีที่แล้ว

      In the description of video : Part 2: Fetch Data using Bootstrap Table

  • @lalitmohan6690
    @lalitmohan6690 2 ปีที่แล้ว

    Can you please share the source code

  • @danieljinabordo9746
    @danieljinabordo9746 2 ปีที่แล้ว

    not working

  • @দূরবীন-গ৬ষ
    @দূরবীন-গ৬ষ 4 ปีที่แล้ว

    where i can download the source code

  • @binayakreddy1124
    @binayakreddy1124 3 ปีที่แล้ว

    source code?

  • @eliuespinoza4016
    @eliuespinoza4016 5 ปีที่แล้ว

    8:19 Showing 1 to 1 of 1 entries... But there are 2 entries

    • @rejoyjohny
      @rejoyjohny 3 ปีที่แล้ว

      Correct. If we give 2 in search data, it will come ' no data found'

    • @tuvshin666
      @tuvshin666 ปีที่แล้ว +1

      remove tbody tag from ur table and its ok

    • @francisloui9132
      @francisloui9132 ปีที่แล้ว

      @@tuvshin666 Thanks bro you

  • @ritikkhatana5105
    @ritikkhatana5105 4 ปีที่แล้ว

    Share code please

  • @arthurturingan6113
    @arthurturingan6113 5 ปีที่แล้ว

    bro code pleaseeeeee thx

  • @timemmanson8350
    @timemmanson8350 3 ปีที่แล้ว

    Useless. No Source Code