PHP and MySQL with CRUD Operations: Create, Read, Update, Delete

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

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

  • @happythrottlemotomedia5529
    @happythrottlemotomedia5529 2 ปีที่แล้ว +11

    I just started studying Visual Studio and you my friend is the best and my favorite teacher. Thank you

  • @shinyamauchi82
    @shinyamauchi82 9 วันที่ผ่านมา

    this is very simple, quick, understandable, ANYTHING THAT IS SMOOTH AND NOT COMPLICATED. THANK YOU SIR!
    😃

  • @alfredgithinji3166
    @alfredgithinji3166 2 ปีที่แล้ว +9

    Wow! What an awesome video. I am already feeling confident working with PHP having come from the JavaScript world.

  • @carlosjunior2108
    @carlosjunior2108 11 หลายเดือนก่อน +3

    Excelent video! I'm brazilian and with my poour english i managed to do. You are very good teacher.

    • @GeronimoEmbang
      @GeronimoEmbang 13 วันที่ผ่านมา

      Hi can you send me the code of that?

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

    I love your programming tutorials on TH-cam.

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

    Appreciate it that Bob also made it on the list

  • @murtazausmani7004
    @murtazausmani7004 2 ปีที่แล้ว +4

    I Love You Mate, I was doing a freelance project and I was stuck but you helped me! Thanks

  • @fishworxify
    @fishworxify 5 หลายเดือนก่อน

    AWESOME!!! Just what I was looking for. Beautifully explained and presented!!!!

  • @Dhika653
    @Dhika653 2 ปีที่แล้ว +5

    OMG ITS WORKED! Guys it really worked. Thank you maboy

  • @A_ALI24
    @A_ALI24 2 ปีที่แล้ว +6

    Concise course. Well prepared. Well presented. Thank you very much. Keep up. All the best.

  • @nicoschulz4037
    @nicoschulz4037 2 ปีที่แล้ว +15

    Nice video with good explanation. Worked for me even without the source code. Took a while, but it worked.
    Just one quick question: Is there a simple way to add a confirmation to the delete-button before deleting? Thanks in advance.

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

      Hello, can you help me out

  • @infodiff
    @infodiff 8 หลายเดือนก่อน +1

    Thank you so much. Joined u on patreon as well.

    • @BoostMyTool
      @BoostMyTool  8 หลายเดือนก่อน +1

      Thank you for your support

  • @Sai-nr4tw
    @Sai-nr4tw 2 ปีที่แล้ว +1

    THANK YOU MISTER THIS REALLY A BIG HELP IN MY CAPSTONE PROJECT!!! THANKS YOU VERYY MUCHHHH

  • @ramsuthar3473
    @ramsuthar3473 2 ปีที่แล้ว +5

    This tutorial is amazing and you are really good at teaching !! great job sir !

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

    Amazing. i have just watched this full video. easy explanation.
    waiting for more videos.🤚

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

    Thanks the best CRUD video on this platform

  • @abovethenimbus
    @abovethenimbus 6 หลายเดือนก่อน +1

    thankyou i can now graduate

  • @Kashalot24
    @Kashalot24 10 หลายเดือนก่อน

    Thank you so much! Everything is worked. You really helped me. Thank you, teacher

  • @benoittheriault2635
    @benoittheriault2635 2 ปีที่แล้ว +5

    Since you are not binding data it’s dangerous for SQL injections. Also, data should be pas into test_input to make sure that injections is also impossible.

  • @Mr.samomar
    @Mr.samomar ปีที่แล้ว +8

    I was get problem Here 24:09 When I use same Email, It's not only show the error massage It will break the code.
    Then I used try catch to solve the problem.
    try {
    $sql = "INSERT INTO clients (name, email, phone, address) VALUES ('$name', '$email', '$phone', '$address')";
    $result = $connection->query($sql);
    } catch (\Exception $e) {
    $erorrMsg = "Invalid Query: " . $connection->error;
    break;
    };
    Now it's working fine, Thank you so much for this tutorial.

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

      thanks brother

    • @Mr.samomar
      @Mr.samomar ปีที่แล้ว +1

      @@seint1044 Your welcome

    • @zekrom6537
      @zekrom6537 10 หลายเดือนก่อน +1

      wow thank you was worth reading all comments to finally find a solution, my guess is that the youtuber added some extra lines somewhere that we cant see in the video thats why it doesnt work for us but does for him, but its not erorrMsg its errorMessage you made a typo there i assume but it works

  • @kat3586
    @kat3586 7 หลายเดือนก่อน

    Best teacher

  • @AdílioNeto-h3x
    @AdílioNeto-h3x 8 หลายเดือนก่อน

    It was really helpful. Thank you very much!

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

    Great video. Thanks for the effort taken to show this

  • @carrothed760
    @carrothed760 2 ปีที่แล้ว +8

    Good tutorial, but would have been nice If we can see the source code, following from just the screen is difficult and confusing.

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

    bro your language is fantastic

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

    Thanks for this imp topic that you have covered

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

    Nice Course It's worked thank you so much

  • @Oprekode
    @Oprekode 4 หลายเดือนก่อน

    Nice learning brother

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

    Nice tutorial all works fine on me i solve it in just an hour. But i would appreciate if you added some pop up text when clicking delete button.

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

    Thanks! Excellent video! Really helped me. Congrats! You're amazing

  • @djskipe
    @djskipe 3 หลายเดือนก่อน

    Thank you bro!
    Very helpful

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

    Good one , easy explanation short method thanx it helped alot in my project

  • @ابوأحمد-ث9ت4ض
    @ابوأحمد-ث9ت4ض 2 ปีที่แล้ว +3

    شرح اكثر من رائع شكرا لك عزيزي

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

    This is an excellent lesson and the code works. Thank You!😊

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

    So easy explain, very helpful, thanks!

  • @2007protsenko
    @2007protsenko 3 หลายเดือนก่อน

    Very helpful, thank you👍

  • @marcinzale
    @marcinzale 11 หลายเดือนก่อน

    Very good tutorial.

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

    Thank you for making such a great tutorial

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

    great tutorial for php mysqli html table !!!

  • @nooni213
    @nooni213 11 หลายเดือนก่อน

    شكرا استاذ🙏🙏

  • @miguelangelperezsantiago783
    @miguelangelperezsantiago783 5 หลายเดือนก่อน

    Thank you very much Sr.

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

    Thnks a lot for your video brow, i can lerning this..

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

    really very usefull...thank u

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

    You are amazing my dear... But my question is can i use the same file in a different computer

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

    Great tutorial, although you left out some things and I had to figure and refigure them out myself.

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

    that was amazing tutorial sir

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

    When I click edit it says: "Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1". Did anyone know why?

    • @mayonnaise.8210
      @mayonnaise.8210 ปีที่แล้ว

      This is my problem right now, I don't know what is the problem is😢

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

      What if you remove the '' around the $id in the query (...... WHERE id=$id")

  • @CodeWithAffan1
    @CodeWithAffan1 ปีที่แล้ว +17

    Edit and delete not working

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

    Hello sir, thanks a lot for this good you have done , could I ask you to do the same tutorial with PDO connection to the data-base. Thanks in advance

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

    Thank you sir for this video 😊

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

    awasome video thanks very much

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

    Great Example !

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

    Best tutorial ☺️☺️

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

    you didn't show us how we can display the error of duplicating an email which is unique in our data base

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

    Wonderful youtube, thank very much!
    I wonder how to add a dialog with 2 buttons for acknowledge to delete the client or not.
    Thank you!

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

    thank you sir you help me a lot.

  • @HelloWorld-so9uj
    @HelloWorld-so9uj ปีที่แล้ว

    Thank you very much❤❤.

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

    👍🔔 Very good

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

    Great tutorial.

  • @Скофиэлд
    @Скофиэлд 2 ปีที่แล้ว

    sir you make great tutorials thank you very much, do you think you could make one on how to make a chrome crypto prices extension or VS code extension? since they seem to be hot topics.

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

    i have error in post method
    " Undefined variable $_post in " he said Trying to access array offset on value of type null in C:\xampp\htdocs\xampp\update.php on line 46
    can plz tell me why is that happen

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

      you should use: $_POST['....'] (capitals)

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

    Thank you!

  • @NetReklam-om3ds
    @NetReklam-om3ds 7 หลายเดือนก่อน

    Thanks for the tutorial but on some parts it's impossible to see the code
    Example:
    at time 20:14
    at time 20:49 it's impossible to see the bootstrap code
    I haven't finished the course for now. I hope there are no more parts where you can't see the code.

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

    Almost everything is working correctly, but in the edit and in the delete always write that the id variable is not set to the URL. If i write the id manually to the URL (for example 'localhost/myshop/delete.php?id=1) it's working. Does anyone detected this problem?

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

    nice tutorial

  • @veinkirishima07
    @veinkirishima07 10 วันที่ผ่านมา

    Thank you

  • @arnoldmesa2813
    @arnoldmesa2813 29 วันที่ผ่านมา

    Hi
    I have a problem in my New client form
    when the data is not complete and you send it to delete the data
    of the cost the problem reaches the modify button when I press the modify button there is no data in the new customer form
    If you can help me with this please

  • @xcrud1.7crud13
    @xcrud1.7crud13 4 หลายเดือนก่อน

    Nice!!

  • @zekrom6537
    @zekrom6537 10 หลายเดือนก่อน +2

    OMG EDIT: right after posting this comment i realize whats the error because i read my comment again 🤦‍♂ the error is that its $results not $result its just that missing s what is causing the issues omg BUT then it gives a new error saying Warning: Undefined array key "id" :| ill edit it again if i figure it out i guess
    so i found the solution for getting the "warning undefined array key "id" error
    inside the edit.php scroll down to where you have the
    it should look like this:

    • @exenion
      @exenion 10 หลายเดือนก่อน

      Thk dude for "warning undefined array key "id"

  • @JohnMarkDue
    @JohnMarkDue 7 หลายเดือนก่อน

    do you have a tutorial like this that not using bootstrap? thanks..

  • @ISHAKBOUSHAKISaida-xf8fn
    @ISHAKBOUSHAKISaida-xf8fn 6 หลายเดือนก่อน

    Excelent video!

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

    Nice tutorial. Where can we download the source code?

    • @BoostMyTool
      @BoostMyTool  2 ปีที่แล้ว +4

      When I added the download link of the source code, I noticed that the viewers download the source code and do not watch the video. As a result, youtube considers that the video is not attractive and does not suggest it frequently. So I decided to delete the source link.

    • @mexiko4532
      @mexiko4532 2 ปีที่แล้ว +10

      @@BoostMyTool Without the source code this video is also not attractive for the viewers.

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

      @@BoostMyTool you can hide the link to the source in the video, the people see your video and can download the source code

    • @TKTK-jx4np
      @TKTK-jx4np 2 ปีที่แล้ว +1

      @@BoostMyTool man im relly sad about your code stolen bro!. BUT i relly need your code source bro. Trust my bro!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

      @@BoostMyTool you can create a github project et shade the link

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

    This is very concise but as such it was prone to errors; I spent about a month to troubleshoot this and get it to "work". I was missing end tags and syntax errors as I tried to replicate the process.

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

      i'm having the same issue. can you help me?
      in the (edit.php),
      $sql = "UPDATE clients "."SET nome = '$nome', email = '$email', telefone = '$telefone', endereco = '$endereco' "."WHERE id = '$id' ";
      if I remove the ' ' from the $id, it throws an error in this line ( $result = $conection->query($sql); )
      if I let it like this ( WHERE id = $id"; ) it finishes the process, but it doesn't save the data.

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

      ​@@lucasferreira8229tbh, i find it better not to concatenate and just plain write it like echo "sql query code..." Than echo "" . " " . "";

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

      @@lucasferreira8229 Hi Lucas. Do you still need help?

  • @omarhafez9272
    @omarhafez9272 10 หลายเดือนก่อน

    الشكر برشا

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

    thankyou for the tutorial
    but can i get the source code for this, its not available in the description box

  • @KpegloMakafui
    @KpegloMakafui 8 หลายเดือนก่อน

    I clicked on the resubmit form when working on this project the new client form is no longer loading or showing any help

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

    Bro In 20:49 what comes after aria-label

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

      did u get the code?

    • @zekrom6537
      @zekrom6537 10 หลายเดือนก่อน

      button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'>

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

    after applying your example ! , I have Lots of warning errors (Warning: Undefined array key "id") , would you plz, support ?

  • @muhammadhusaynamilaiyub6911
    @muhammadhusaynamilaiyub6911 7 หลายเดือนก่อน

    sir what do i do if i'm using a foreign key for example each project has different multiple task and i am using foreign key so that whenever i add a task it will get the id of the project then the tasks i added in that project will display but when i edit i want a certain task i have to get the project id and task id how do i do that?

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

    Hello,
    In 87 line, if loop for executions success Message, i can't see all code for executions. Because of that i have error when i try enter a new user.
    Same thinks is with error message.
    Can you please paste code of success and error message in if loop?
    Thanks

  • @WebCrafters-yo7ju
    @WebCrafters-yo7ju 4 หลายเดือนก่อน

    What would I do if I had radio buttons with the value part already filled

  • @kawshanvirantha
    @kawshanvirantha 2 หลายเดือนก่อน

    completed...............oh my god only 30 min vid. my lecturer took 25 days to finish some employee module just like this🤪🤪 25 days of 2 hour video 😂😂😂😂

  • @MelvinReano-t1w
    @MelvinReano-t1w ปีที่แล้ว

    excellent video... do u have any course to buy about php?

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

    where did u lost SuccessMessage after successfull now client registration ?

  • @Beastfan_0-i3x
    @Beastfan_0-i3x ปีที่แล้ว

    i have some issue server saying THIS REQUESTED URL WAS NOT FOUND IN THIS SERVER what shoud i do

  • @AlphaNdiaye-yr4xq
    @AlphaNdiaye-yr4xq 9 หลายเดือนก่อน

    Thank's you so much

  • @TuniCode.24
    @TuniCode.24 5 หลายเดือนก่อน

    I’m sure that you are Tunisian Cause we know the accent of Each other

  • @zekrom6537
    @zekrom6537 10 หลายเดือนก่อน

    at min 24 for some reason mine refuse to show the error message correctly with the yellow box around it and just shows a white page saying fatal error on line 34 in the create.php and that line is within these 3:
    $sql = "INSERT INTO clients (name, email, phone, address)" .
    "VALUES ('$name', '$email', '$phone', '$address')";
    $result = $connection->query($sql);

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

    can you do that with ajax, I will be grateful if you help with that

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

    For some reason, the edit and delete function doesn't work for me, everything else does.

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

    Thank you so much ☺

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

    excelente video muy

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

    Sir can you plz write error message and success message display code here

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

    i donr want to add other files i only want to put all code in one file
    how am i supposed to do that?
    please help me

  • @yeyestravelbites
    @yeyestravelbites 8 หลายเดือนก่อน

    Anyone has an idea why I;m getting uncaught exception when adding duplicate email?? Instead of catching the error and showing it as a dismissable warning message?

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

    Thank you god bless

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

    I really don't know how you were able to run the invalid query in create.php

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

    Thank you very much, I have learned a lot.

  • @FranekMobile
    @FranekMobile 6 หลายเดือนก่อน

    Hi, How can I be able to delete records, but how can I add an alert that will confirm the deletion, but I don't know how to do it, I've been looking and nothing.

    • @grum_pii
      @grum_pii 3 หลายเดือนก่อน

      Give an echo " alert("message ")

  • @atienzaivanreint.9818
    @atienzaivanreint.9818 ปีที่แล้ว

    Can you help me, the existing data is not showing on edit page