PHP Ajax - CRUD Application with Bootstrap 5 & Datatables Library || Drag & Drop Image Upload

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

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

  • @angelcasanchez7229
    @angelcasanchez7229 23 дня назад

    por que no se me insertan los registros en la base de datos?, minuto 20:35, tampoco me sale el mensaje de exito, ya creé la carpeta uploads y le di permisos pero ni asi funciona

  • @onechannel9716
    @onechannel9716 Год назад +3

    I stuck at min 20:00... The Toast messages don't appear and there is no insert in my db... I get "Uncaught SyntaxError: Unexpected end of JSOn input" at Object.success (modal.js:22:37)
    But I checked my code 50 times before and it's the same like you have. The only difference between your video and mine, are the folders... You got server.php, script.js and index.php in the same root. Could this be a problem? Like this line: url: "server.php?action=insertData",
    Can you please help me community?

    • @Rmss71
      @Rmss71 11 месяцев назад +2

      did you get a solution?

    • @doconline76
      @doconline76 6 месяцев назад

      The toast is underneath the user form in the DOM, if you add a z-index of the toast container, and also to the offCanvasAddUser element this should resolve the issue

    • @charroluft3434
      @charroluft3434 2 месяца назад

      There is no folder for uploads
      you still have to create it or
      Rename uploads to images

    • @diegoc.6489
      @diegoc.6489 Месяц назад

      check your sql query too
      $sql = "INSERT INTO users (first_name, last_name, email, image, country, gender) VALUES ('$first_name', '$last_name', '$email', '$new_name', '$country', '$gender')";
      My error disappeared when I removed ---> `

  • @mssama2931
    @mssama2931 9 месяцев назад

    Thank you brother we need your favor here on youtube bro ❤️

  • @ica-027-fardeen9
    @ica-027-fardeen9 Год назад

    Superb Video🎉

  • @TechnowulfTV
    @TechnowulfTV 5 месяцев назад

    Hello thank you for the great tutorial! I really love it! One thing Im having problem is why the image I am saving is being saved in the database but is not being uploaded to the uploads folder on my site? I have the uploads folder in the root directory of the site. Thanks for the help :)

    • @TechnowulfTV
      @TechnowulfTV 5 месяцев назад +1

      I already fixed the issue by fixing the upload folder ownership and permission on my linux webserver :) Thank you so much! You are my idol!!!

    • @sena_22
      @sena_22 5 месяцев назад

      Did u fix the problem how since i downloaded the code and created the database but when i tried to insert a user i entred the data but submit button doesn't work even though i created uploads folder

    • @angelcasanchez7229
      @angelcasanchez7229 23 дня назад

      @@sena_22 Could you solve the problem with the send button?

  • @roadtripfun
    @roadtripfun Год назад

    how to fix. if my server. php is undefined index: action

  • @dumos73
    @dumos73 2 месяца назад

    Top

  • @kamounimounsef6756
    @kamounimounsef6756 Год назад +1

    ça marche pas (add et update)

  • @sheltonbolt7301
    @sheltonbolt7301 2 месяца назад

    its good but submit button is not working

  • @soumitkumar442
    @soumitkumar442 8 месяцев назад

    pls share your vscode config

  • @Adamakmar
    @Adamakmar Год назад +1

    i'm stuck at 20:00 min

    • @doconline76
      @doconline76 6 месяцев назад

      See my answer above to onechannel9716

  • @daveharmer
    @daveharmer Месяц назад

    I love the music Man and Good work

  • @soumitkumar442
    @soumitkumar442 8 месяцев назад

    Thanks for the video, please make some more on bootstrap 5 and php

  • @ceeshab
    @ceeshab 4 месяца назад

    submit button is not working I need to refresh it to display the data. The image is not showing too but it's displayed on sql. How to fix this error???

    • @angelcasanchez7229
      @angelcasanchez7229 23 дня назад

      lograste solucionar tu problema? tengo un error similar solo que a mi ni en sql se me muestra el registro

  • @odlaproduction
    @odlaproduction Год назад

    Nice video

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

    How can i send the image in json?

  • @parmarfamily6311
    @parmarfamily6311 5 месяцев назад

    Thank you 😊

  • @KhanGee-121
    @KhanGee-121 10 месяцев назад

    Good tutorial... Thanks a lot :)

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

    awesome 😎

  • @louiepadernilla8303
    @louiepadernilla8303 5 месяцев назад

    hello brother i have a problem i cannot see the photo and the submit button wont work unless you refresh the page

    • @movietube5220
      @movietube5220 5 месяцев назад

      because you not made upload folder where are gonna to be instore

    • @louiepadernilla8303
      @louiepadernilla8303 5 месяцев назад

      i follow the step and i open the source code there is no upload folder huhuhuhu help me brother
      @@movietube5220

    • @angelcasanchez7229
      @angelcasanchez7229 23 дня назад

      @@movietube5220 i have the same problem and i already create the folder and still not working

  • @ZeroTwo-dn4er
    @ZeroTwo-dn4er 5 месяцев назад

    Submit button not working please help

    • @movietube5220
      @movietube5220 5 месяцев назад

      Where the index folder is created, the upload folder will also be created

    • @nesanova-wz3jl
      @nesanova-wz3jl 5 месяцев назад

      @@movietube5220 can u explain more please because i created uploads folder and it still doesn't work

    • @TechnowulfTV
      @TechnowulfTV 5 месяцев назад

      I have the same question. I created uploads folder but still no image. Isn't it suppoed to be save at the /images folder? :)

  • @fidelgarciadiaz2138
    @fidelgarciadiaz2138 Год назад

    db please

    • @rasmarttech1686
      @rasmarttech1686  Год назад

      Check out the github repository: github.com/ruhid206/php-ajax-crud-yt