Datatable server side processing CRUD Operations , Bootstrap 5 , PHP MYSQL AJAX

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 130

  • @shrikantwaghare2193
    @shrikantwaghare2193 2 роки тому +3

    Thx for your crud operation tutorial with datatable. keep it up.🙏

  • @oumasstabdallah3424
    @oumasstabdallah3424 Рік тому +1

    I just wanna to say : thank you very much brother.

  • @testbvn
    @testbvn Рік тому +1

    Perfect Data Table .... I am impress with your coding ... Thank you for Give me Data Table ....and it's source code

  • @pornada9401
    @pornada9401 Місяць тому +1

    es BRUTALMENTE bueno, muchas gracias muy rapido, lo probe con mas 1'500,000 registros, en una pc core 2 duo - 8 ram - ssd 240gb ...lo leyo en 4 segundos mas que ESPECTACULAR !! Gracias 💪👊💪, lo usare como base para los proyectos

  • @verawat
    @verawat 2 роки тому +1

    Goodjob awesome tutorial. I love you. It help me a lot.

  • @hameedmanji8552
    @hameedmanji8552 3 роки тому +1

    Very beautiful sir or mam! Thank you in advance!

  • @XuanKyAutomation
    @XuanKyAutomation 2 роки тому +1

    You make very good video, I lean a lot from you, thanks

  • @mihaiernesto1632
    @mihaiernesto1632 2 роки тому +1

    thank you soo much! best tutorial datatable i ever see.

  • @orvenmarihofilena4574
    @orvenmarihofilena4574 3 роки тому +1

    Thanks for the tutorial. Now I just have to figure out the filter function.

  • @mohammadiliussagar7914
    @mohammadiliussagar7914 3 роки тому +1

    Nice Code ! It's Hard Working. Thanks for your tutorial.

  • @gracetang1025
    @gracetang1025 3 роки тому +1

    Thank you for the amazing tutorial! I will have to spend sometime study your code! :)

  • @XuanKyAutomation
    @XuanKyAutomation 2 роки тому +1

    thanks very much, your great video.

  • @racha2169
    @racha2169 2 роки тому +1

    Hi and Thak you bro

  • @RonClarijs
    @RonClarijs Рік тому

    Good tutorial! But you must use parameterized queries in mysqli to prevent SQL injection vulnerability.

  • @hitsugayakun2877
    @hitsugayakun2877 3 роки тому +2

    Why does my fetch data have an error? It wont add the user i input, the fetch data says Undefined index length line 37
    Undefined index start line 39
    Undefined index length line 40
    Mysqli_num_rows() expects parameter 1 to be mysqli_result, bool line 45
    Mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool line 47
    Undefined index draw line 60

  • @coachsportif8744
    @coachsportif8744 3 роки тому +6

    Hi and thank you for your nice presentation. Can you tell us what is the version of your PHP?

    • @CodexTime
      @CodexTime  3 роки тому

      7.2

    • @simplyjemelah8276
      @simplyjemelah8276 Рік тому

      ​@@CodexTime hi please help why my output doesn't have a separation between the categories i will attached mg index. Php code

  • @AlMagic911
    @AlMagic911 2 роки тому +1

    Hey, how can i post all data in boxes with checkmark to delete them ? Help please

    • @CodexTime
      @CodexTime  2 роки тому +2

      Post data in array .. and post id with checkbox like this-

  • @dsweb_programming
    @dsweb_programming Рік тому

    How implementation join tables in serverside Sir..?

  • @advancewebdevelopment9802
    @advancewebdevelopment9802 2 роки тому +1

    Thanks a lot

  • @kisho2679
    @kisho2679 Рік тому

    How could a row be duplicated in the created web application, just to be updated as new entry?

  • @khantsithuphyo5484
    @khantsithuphyo5484 2 роки тому

    Can sort data row it save to database

  • @rasak55
    @rasak55 2 роки тому +1

    thanks for code

  • @ismailaydinlik
    @ismailaydinlik 2 роки тому

    When I run it in its original form the project works but when I add more columns the data is not listed. what is the problem? Can you help me?

  • @kisho2679
    @kisho2679 Рік тому

    How could a pivot view be modelled with SQL-Workbench, based on data stored in different mySQL tables?

  • @isaiahoduor407
    @isaiahoduor407 3 роки тому +2

    could you please explain why we have trid as hidden and whats its role

    • @CodexTime
      @CodexTime  3 роки тому +2

      We are using trid for updating content of row and delelting row without refreshing the page and datatable.

    • @isaiahoduor407
      @isaiahoduor407 3 роки тому

      @@CodexTime oooh cool

  • @lemussanchezarturo3654
    @lemussanchezarturo3654 2 роки тому

    excuse me, when I upload it to the server, it doesn't let me create. It gives me the legend "failed". But locally it works fine for me.
    do you have any solution?

  • @soufianefal7379
    @soufianefal7379 2 роки тому +1

    Thanks bro

  • @Sane1015
    @Sane1015 3 роки тому +1

    Can you put this on git instead of download as zip?

  • @giorgos3747
    @giorgos3747 Рік тому

    Search bar and show entries do not appear

  • @thebumba3546
    @thebumba3546 2 роки тому +1

    hi I really like this tutorial , but get some errors starting around if($_post['length'] != -1), it says undefined array key "length", i really need this

  • @NACIOOOOOOOO
    @NACIOOOOOOOO 2 роки тому

    how about the paging sir how do you make it work

  • @shinvlog1126
    @shinvlog1126 Рік тому

    why i cant use where in this fetch part $output= array();
    $sql = "SELECT * FROM users WHERE status='Closed' ";
    $totalQuery = mysqli_query($con,$sql);
    $total_all_rows = mysqli_num_rows($totalQuery);

  • @bloodshotgamingff
    @bloodshotgamingff 2 роки тому +1

    i cannot understand please put a voice during running video

  • @marcosanchez1646
    @marcosanchez1646 2 роки тому +1

    Hi is this posible with join multiple table?

    • @CodexTime
      @CodexTime  2 роки тому

      Yes its possible

    • @marcosanchez1646
      @marcosanchez1646 2 роки тому

      @@CodexTime Thank you :) and already done it with multiple table

  • @spectrumitservices1222
    @spectrumitservices1222 2 роки тому

    I tried changing the fields in the database and its showing no data

  • @gwapsgamingph
    @gwapsgamingph 2 роки тому

    I tried to modified your fields and unfortunately it doesn't display the data. I have fast internet connection and already checked the source code.

  • @akiharuka194
    @akiharuka194 3 роки тому +1

    the sorting in the id is not working and shows an error. Will someone help me? Thank you in advance!

    • @fiddlestic6958
      @fiddlestic6958 3 роки тому

      same problem here...

    • @CodexTime
      @CodexTime  3 роки тому

      Sorting for id is fixed. Download fixed version from video description

    • @CodexTime
      @CodexTime  3 роки тому +1

      Sorting for id is fixed. Download fixed version from video description

  • @carmineiannone1469
    @carmineiannone1469 2 роки тому

    is responsive?

  • @abhitutorials5443
    @abhitutorials5443 2 роки тому

    JSON.parse() is getting an error plz can u help me

  • @Donavien
    @Donavien 3 роки тому +1

    Hello Sir, why paging is not working? I have 21 entries but when I chose "show by 10" the paging didn't show only page 1. I follow your steps Sir. Can you help me to this. Thank you

    • @CodexTime
      @CodexTime  3 роки тому

      this option shows items per page, not only in one page

  • @baxi3838_SG
    @baxi3838_SG 3 роки тому +1

    sir, why SORT is not working in your files??

  • @shamsularifin5705
    @shamsularifin5705 2 роки тому +1

    Good Morning. It’s a nice and very detailed CRUD solution of one of this kind of projects. It’s very much appreciated to present this type of project solution to help others.
    I have one project same as yours that has all functionality of Ajax/JavaScript and it doesn’t have TAG which used in some sorts of Ajax/Java Script routine with Bootstrap 5.0. It works fine but not suitable at all for Mobile/Cell Phone.
    Did you ever try how to make this project responsive for Mobile/Cell Phone?
    Thanks again for the anticipation of my message.
    Regards,
    Shamsul Arifin

    • @CodexTime
      @CodexTime  2 роки тому +1

      Thanks for appreciation..
      Try to wrap your bootstrap table in div with table-responsive class .. it will show the scrollbar in mobile view...

  • @alexanderherreratorres1119
    @alexanderherreratorres1119 3 роки тому

    mejor imposible amigo gracias por tu aporte

  • @Puumis68
    @Puumis68 3 роки тому +1

    Sorting not work in downloaded zip source

    • @CodexTime
      @CodexTime  3 роки тому +1

      Sorting for id is fixed. Download fixed version from video description

  • @vhusani
    @vhusani 2 роки тому

    whats the point of implementing a datatable if its not going to work?

  • @codebreakerchronicles
    @codebreakerchronicles 3 роки тому +1

    pagination is not working on the script

    • @CodexTime
      @CodexTime  3 роки тому

      Fixed in source code.

    • @feriyeaddg8774
      @feriyeaddg8774 3 роки тому

      @@CodexTime how to add data . i dont know . iwant to make like chegg site but i cannot . i want to user add long text and photos and they can search but for 2 weeks i research but i can not find some e-lessons teach php 5.6

    • @InconclusionInc
      @InconclusionInc 3 місяці тому

      Took me awhile to figure out but if anyone is having this issue, it has to do with the filtered records in the fetch_data.php needing to include data not just on the current page, i.e after searching but before limiting the data

  • @newgmail5170
    @newgmail5170 3 роки тому

    Hi sir I just want to ask why the jquery cdn is not working? I tried your code and it only loads and is not showing any data on the datatable. And when I tried to search the cdn it is not working.

    • @CodexTime
      @CodexTime  3 роки тому

      internet required for cdn

  • @Donavien
    @Donavien 3 роки тому +1

    Hello Sir, I try to change the column name of the id in the database into ticketid, what should I do in trid? the update and delete button is not working. Can you help me to solve this problem. Thank you.

    • @CodexTime
      @CodexTime  3 роки тому +1

      In fetch_data, delete_user, get_single_data, update_user files change id to ticketid

    • @Donavien
      @Donavien 3 роки тому

      One more thing sir, I already fix the the problem. But if i tried to edit again why the edit button is not functioning? It doesn't want to edit again unless i refresh it. Thank you

  • @AbdoHaimeda
    @AbdoHaimeda Рік тому

    thank you

  • @kensho7271
    @kensho7271 Рік тому +1

    Hello sir thank you for providing us such good content
    I have a doubt ...I downloaded your source code and it was running well with out errors but when I try to Add data the newer data is showing on the top of the table I tried different ways but it didn't change but in your video when you added a new row it showed in the bottom ....can anyone help me with this.

    • @kensho7271
      @kensho7271 Рік тому

      It important for me so please let me know if anyone knows about it

  • @fiddlestic6958
    @fiddlestic6958 3 роки тому

    Hello! Yes its working, but the save changes button on the update can't be clicked.. Can you help us sir/maam?

  • @conanthebarvarian
    @conanthebarvarian 3 роки тому +2

    Hi sir I really appreciate your work i just want to ask these hidden line in your script? whenever I edit the edit the user I need to refresh/reload the page to delete the user profile. Is there any way to solve this?

    • @CodexTime
      @CodexTime  3 роки тому

      Problem in the index.php on javascript edit function. On line no 140 replace this code with delete anchor tag --> Delete

  • @kobanii
    @kobanii 2 роки тому +1

    Can you help me solve this problem

    • @CodexTime
      @CodexTime  2 роки тому

      Send screenshots on Instagram

    • @kobanii
      @kobanii 2 роки тому

      send me a telegram id

  • @Donavien
    @Donavien 3 роки тому

    Hello Sir, why if i click the edit button again after changing the same id. The edit button is not functioning? Please help me to solve it, I'm not expert with this kind of situation. Thank you.

  • @Abdee-z1l
    @Abdee-z1l 10 місяців тому

    thank you sir my question is how we can export this datatable as pdf or excel format

    • @CodexTime
      @CodexTime  10 місяців тому

      You can use pdf export js library for datatable

    • @Abdee-z1l
      @Abdee-z1l 9 місяців тому

      can you please send me the link of this library @@CodexTime

  • @safikkhalifa7689
    @safikkhalifa7689 3 роки тому

    how to create admin panel for this table because i don't want to show edit button to users

    • @CodexTime
      @CodexTime  3 роки тому +1

      Use usertype field in your db users table and store the usertype in login session. on user type based data show/hide your button.

    • @safikkhalifa7689
      @safikkhalifa7689 3 роки тому

      @@CodexTime also i want to add URL button in data table so how can i add it? please make tutorial for this with admin panel

    • @safikkhalifa7689
      @safikkhalifa7689 3 роки тому

      @@CodexTime can you do that for me? bcoz I'm beginner 😔

  • @mikesstudio100
    @mikesstudio100 2 роки тому

    Hi and Thanks for your contribute. And I've a question, is it my fault? when I type keyword to search, the paging will not update, could you please help? thanks

    • @CodexTime
      @CodexTime  2 роки тому

      Datatable should be rendered again after search results .. paging is depends on search results count..check these

  • @lastninja2022
    @lastninja2022 2 роки тому +1

    kindly put print report for PDF and excel for this one base on search

  • @semicolon4140
    @semicolon4140 3 роки тому

    it errors when i add 14 info or data. Is there a limit in how much you add data in a table?

    • @CodexTime
      @CodexTime  3 роки тому

      No..there is no limitation in table. Check you table id length

    • @semicolon4140
      @semicolon4140 3 роки тому

      @@CodexTime mine is 11

    • @semicolon4140
      @semicolon4140 3 роки тому

      @@CodexTime the length of my id is 11. Will it affect the number of records that you want to insert in database?

    • @CodexTime
      @CodexTime  3 роки тому

      Length is ok.. check error through inspect element in network tab

    • @semicolon4140
      @semicolon4140 3 роки тому

      @@CodexTime the error is, it execute the else statement when I adding records to the database

  • @adjeteycharltonadiei1145
    @adjeteycharltonadiei1145 3 роки тому

    i am very bad with the functions of php and i am a beginner in javascript what would you advice me when it comes to learning the functions and when to start javascript and is it better to start a library of javascript or just javascript first

    • @CodexTime
      @CodexTime  3 роки тому +1

      If you want to goes to web development ...
      First learn Html,javascript and PHP and then go to library and frameworks.

  • @kellybells2673
    @kellybells2673 3 роки тому

    Hi sir, why the data is not loading on datatables?

    • @CodexTime
      @CodexTime  3 роки тому

      Check database connection

    • @kellybells2673
      @kellybells2673 3 роки тому

      @@CodexTime the source code is not working sir. I tried it, and even in the source code, the data is not loading.

    • @kellybells2673
      @kellybells2673 3 роки тому

      @@CodexTime I tried to remove the library and it's loading fast, when I put it again it's just loading so slow and not showing any data.

    • @CodexTime
      @CodexTime  3 роки тому

      Js ans css loaded by cdn so internet is required.. please connect with internet then try again..
      Or I have updated the code using local css and js libraries. Just again download and check it again

  • @henriquehims
    @henriquehims 3 роки тому +1

    Thanks!

  • @meryameddaif4951
    @meryameddaif4951 Рік тому

    the search bar it working?

  • @janramilintong1187
    @janramilintong1187 2 роки тому +1

    I wish you explain everything in the video.

  • @quenny9983
    @quenny9983 3 роки тому

    I tried it on notepad++ but sad to say it can't add and edit.

  • @teekeshwarideshmukh7351
    @teekeshwarideshmukh7351 3 роки тому

    Sir can you help me data base se data AA hi nhi rhe hai index page me show nhi ho rahe hai

    • @CodexTime
      @CodexTime  3 роки тому

      I think databse connection problem ho.

  • @fahiyangtech
    @fahiyangtech 2 роки тому +1

    php version?

  • @engkuukaay070
    @engkuukaay070 3 роки тому

    Bootstrap not working how to fix that
    Iam using vs code E

    • @CodexTime
      @CodexTime  3 роки тому

      Code is updated.. download it again and check it

  • @quenny9983
    @quenny9983 3 роки тому

    What is the name of compiler po?

  • @Donavien
    @Donavien 3 роки тому

    Hello Sir, please help me. I need your help so badly.
    Can I ask if it is possible to use a joins in your code. If yes, can you help me please.

    • @CodexTime
      @CodexTime  3 роки тому

      Yes you can use joins in my code.

  • @alzon21
    @alzon21 3 роки тому

    why pagination is not working?

  • @giorgos3747
    @giorgos3747 Рік тому

    Maybe you should change the links in the source code

  • @susu_gajah
    @susu_gajah 2 роки тому

    please tutorial datatables server side in codeigniter 4 #thank you

  • @niletdambulla9032
    @niletdambulla9032 Рік тому

  • @Andi0391
    @Andi0391 5 місяців тому

    bro made such twists in his source code so that he will not have his work stolen 😂 What's the point of sharing if you're afraid of stealing?

    • @CodexTime
      @CodexTime  5 місяців тому

      You are wrong bro.. I had changed some lines of code in source because some viewers telling that source code is not fully working.

    • @Spouter919
      @Spouter919 19 годин тому

      ​@@CodexTime Hello. Great work, but pagination is still not working 😢

  • @เดชาธรมณีศรี-ฝ7ล

    thank you