Create a Search Box & Pagination in PHP using DataTable.

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 103

  • @MuhammadNaeem-ci2df
    @MuhammadNaeem-ci2df 10 месяцев назад

    Great Job, Well-done for the whole series.

  • @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 4 года назад

      @@tomtisti5464 you are the man.

    • @lizardcute3935
      @lizardcute3935 4 года назад

      tq very much

  • @johnchintall9118
    @johnchintall9118 3 года назад +4

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

  • @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 🙏💗😊

  • @nursabrina409
    @nursabrina409 3 года назад

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

  • @aryanchauhan9786
    @aryanchauhan9786 4 года назад

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

  • @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???*

  • @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 .

  • @glendydesabille3977
    @glendydesabille3977 3 года назад

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

  • @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.

  • @ermiasgetu173
    @ermiasgetu173 4 года назад

    tank you Funda Of Web IT!

  • @kaithepallisreenivas8328
    @kaithepallisreenivas8328 4 года назад +1

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

  • @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?

  • @shimayousif5588
    @shimayousif5588 2 года назад

    Can it will work properly in any live server?

  • @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🥺🥺

  • @dstar2211
    @dstar2211 5 лет назад +1

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

  • @cinematicgamex8840
    @cinematicgamex8840 4 года назад +3

    this code is not working at all

  • @syakiradham5577
    @syakiradham5577 3 года назад +1

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

  • @kisho2679
    @kisho2679 11 месяцев назад

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

    • @fundaofwebit
      @fundaofwebit  11 месяцев назад

      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.

  • @pathumkumara4696
    @pathumkumara4696 4 года назад

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

  • @pari5931
    @pari5931 4 года назад

    Well done

  • @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 )

  • @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.

  • @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.

  • @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

  • @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.

  • @jjfunvideos2147
    @jjfunvideos2147 3 года назад

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

  • @radiochaabidialna
    @radiochaabidialna 2 года назад

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

  • @parthapaul5241
    @parthapaul5241 4 года назад

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

  • @kaithepallisreenivas8328
    @kaithepallisreenivas8328 4 года назад

    i am not getting the desired output..

  • @andrewp1426
    @andrewp1426 2 года назад

    BEST!!!

  • @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

  • @babo_web_developer7527
    @babo_web_developer7527 2 года назад

    how to use dwonload CDN

  • @shahabkhan8794
    @shahabkhan8794 3 года назад

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

  • @kisho2679
    @kisho2679 3 года назад

    someone knows how PHP with PostgreSQL?

  • @eliuespinoza4016
    @eliuespinoza4016 5 лет назад

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

    • @rejoyjohny
      @rejoyjohny 4 года назад

      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

  • @fideleimaragodet4243
    @fideleimaragodet4243 2 года назад

    Thx bro

  • @iammo7889
    @iammo7889 2 года назад

    Please someone tell me why it doesn't working

  • @rizayanazhartambunan7742
    @rizayanazhartambunan7742 2 года назад +1

    Ok

  • @bluepisces86
    @bluepisces86 3 года назад

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

  • @দূরবীন-গ৬ষ
    @দূরবীন-গ৬ষ 4 года назад

    where i can download the source code

  • @sahalplays2
    @sahalplays2 5 лет назад +3

    bro pls send me code

    • @tomtisti5464
      @tomtisti5464 4 года назад

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

  • @TheKayanadam
    @TheKayanadam 4 года назад

    INDIAN

  • @laibaiqbal3784
    @laibaiqbal3784 4 года назад

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

  • @danieljinabordo9746
    @danieljinabordo9746 2 года назад

    not working

  • @lalitmohan6690
    @lalitmohan6690 2 года назад

    Can you please share the source code

  • @vanrajkhunti8106
    @vanrajkhunti8106 4 года назад

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

  • @binayakreddy1124
    @binayakreddy1124 3 года назад

    source code?

  • @ritikkhatana5105
    @ritikkhatana5105 4 года назад

    Share code please

  • @arthurturingan6113
    @arthurturingan6113 5 лет назад

    bro code pleaseeeeee thx

  • @timemmanson8350
    @timemmanson8350 4 года назад

    Useless. No Source Code