Insert Update Delete In Php With Ajax Jquery

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

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

  • @renrevz8140
    @renrevz8140 2 года назад +2

    Finally someone explain the ajax perfectly thank you so much sir

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

    Bro u have made me a good developer... Thanks for this, u really knows how to teach... Keep it up bro

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

    superb its like java we use classes like here you used functions.so clean thank you

  • @polycarpokot8310
    @polycarpokot8310 4 года назад +2

    Thanks for the great work.
    When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error.
    Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!

  • @mcmyles-j5p
    @mcmyles-j5p 11 месяцев назад

    good am following this

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

    you have one problem in your code brother your code for delete it's just delete the first item only try to click last item or before you can't remove it

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

    Its good and simple to understand let me try to practice.

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

    This is really great and useful content

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

      If someone is looking for PHP PDO CRUD using Ajax ruclips.net/video/LBxSYZ6Z4ng/видео.html

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

    Thank you very much its really helpfull

  • @mcmyles-j5p
    @mcmyles-j5p 11 месяцев назад

    my function fetches only one character from each record in the database kindly advice what could be the problem

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

    very detailed explanation, thanks

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

    so clean and very easy to understand, thank you

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

    Very good and complete. The results were not paged.

  • @seleman-MW
    @seleman-MW 4 года назад +1

    how retrieve the specific id of the user for example when i click on user id 1 and display the only one records of user 1??

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

      don't use the while loop we you fetching the data from the table stored it in the single variable.

  • @PardeepKumar-im6ij
    @PardeepKumar-im6ij 2 года назад

    Sir ajax ke code se bnana ek vedio please 🙏

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

    great job, thx!

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

    Execlant, Thanks :)

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

    nice! bro

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

    Thank you so much! Awsome tutorial👍👍👍

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

      Hi, you don't have a syntax error at data=$.parseJSON(data) ???

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

    good job

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

      @telugu tolly63 Hey! Have you solved your problem? I'm not getting any output as well

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

    Can't find the code via the link ?

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

    the script not found at the website :(

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

    hello sir how to upload image along with this

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

    it says data is not defined when I click on the Edit button! can someone help me???????

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

    Thanks bro! Worked for me!

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

      Hi bro, Do you found the solution of that ?

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

      @@oussamaelharmali2294 post your code here

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

      @@davinunesvit data = $.parseJSON(data); a error shows : Unexpected token < in JSON at position 0 I search but with no result

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

      @@oussamaelharmali2294 try to console.log(data) to check your JSON structure

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

      @@oussamaelharmali2294 show me your PHP code and your js

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

    Pls help author
    syntax error ...console log -- ' Uncaught SyntaxError: Unexpected token < in JSON at position 4
    at Function.parse [as parseJSON] ()
    at Object.success (myjs.js:43) '

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

      Hello, You need to remove this line data = $.parseJSON() under your view record function in myjs.js file and write outside of success dataType: 'JSON', JQuery will do the same thing for you it worked for me

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

    in functions.php
    function get_record()
    $User_data = ""; should be like this --> $User_data = array();

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

      Thank you my friend you are the best!

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

      this help for the editing part, else it will show initials

  • @jaironaranjo3654
    @jaironaranjo3654 10 месяцев назад

    please on 1:04:48 timestamp $User_data =" " ; DOES NOT WORK it shoulb be -> $User_data = array();

  • @arjunm.r8641
    @arjunm.r8641 5 лет назад

    Brother I got a syntax error at data=$.parseJSON(data);
    Can u please help me to avoid that error.Please.

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

      What about now brother ?

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

      Same problm today , did u fix it?

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

      @@ibtissembendouhou3274 facebook.com/ElharmaliOussama/ contact me I will give a folders contains all about webDev (Udemy) don't follow like those tutorials

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

      @@ibtissembendouhou3274 Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me

  • @md.salehinkabir5461
    @md.salehinkabir5461 4 года назад +2

    syntax error ...console log -- ' Uncaught SyntaxError: Unexpected token < in JSON at position 4
    at Function.parse [as parseJSON] ()
    at Object.success (myjs.js:43) ' ....plz fix it..

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

      Hi bro, Do you found the solution of that ?

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

      @@oussamaelharmali2294 Do you want to get your problem solved ?

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

      @@WPANDSEOTUTORIALS yes of course

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

      Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me

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

      @@aasharazeem5735 hello mine has jam

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

    For those who are having data=$.parseJSON(data) error replace that with this
    data = JSON.parse(data);

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

    can you send me source code of this code ?

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

    your code view is looking too small i cant see what youre typing

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

      Please increase video resolution, then you will able to see each code..

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

      @@OnlineITtuts hello please help

  • @santhoshkumar-sf4bc
    @santhoshkumar-sf4bc 5 лет назад

    Sir, could you provide source code...?

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

      You can learn following his steps

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

      @@adilsonsf Go fuck yourself, I can learn by playing with the code directly.

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

      @@angryrussianhd2470 :P You people are really fuckin :P

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

    Help echo json_encode(['status' => 'success','html'=>$value]); syntax error, unexpected '[', expecting ')'

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

    Thanks for the great work.
    When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error.
    Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!

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

    great job, thx!