PHP - Delete Records From MYSQL Database Using PHP

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 86

  • @tibysroaddict
    @tibysroaddict 7 років тому +5

    It's perfect
    if u get "Notice: Undefined index ID " it means that u need to replace "ID" from "index.php" with the id name from your own table (that's how i fixed it).
    if you do not get any error but it still does not delete it means that you didn't replace again "ID" from "delete.php" with your own id name from your own table (that's how I fixed it). It's easy to miss a thing like that.
    Thank you so much for the tutorial.

  • @Swiftray
    @Swiftray 7 років тому +3

    What can i say? You are a confirmed Indian! Thank you so much mystery tech support!

  • @satishg6965
    @satishg6965 4 роки тому +2

    while(until infinity){
    $love = "thank you, brother";
    echo "thank you soo much brother, I was struggling since yesterday night, referred so many videos, but you just saved my time, lots of love and care + support from my side";
    }

  • @farhanashiffa2466
    @farhanashiffa2466 4 роки тому +2

    thank you for the video. finally i can present my project. god bless you

  • @RainOnline
    @RainOnline 4 роки тому +1

    Indians are the Base behind my programming skills

  • @amejonyoutubelestad4709
    @amejonyoutubelestad4709 6 років тому +3

    dude thank u so much, I've been through this puzzles since saturday until today tuesday! heheh have a good day...

  • @bonnaidjicko1562
    @bonnaidjicko1562 6 років тому

    In 2017 i say that again, you are the best !

  • @zharifsofea952
    @zharifsofea952 5 років тому +1

    thank you so much for the video. it's totally works! finally i found solution for my error problem. thanks again. god bless you.

  • @Brrrndy
    @Brrrndy 5 років тому +3

    Keep up the good work. Thanks a lot for this tutorial. God Bless to you.

  • @satishg6965
    @satishg6965 4 роки тому +1

    Brother thanks ones again, like more then 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 times thanks,

  • @mraziz3230
    @mraziz3230 4 роки тому

    Thank you so much, i've been on this puzzle like 4 days. Thanks again.

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

      I guess Im randomly asking but does anybody know a way to get back into an Instagram account..?
      I was dumb lost my password. I would love any assistance you can give me!

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

    man thanku so muchhh!!!!!!!!!!!!!!!!!!!

  • @CarlosReyes-qc5wg
    @CarlosReyes-qc5wg 4 роки тому +1

    Excellent video, you helped me a lot!

  • @arkapravade4098
    @arkapravade4098 4 роки тому +1

    Thank you sir

  • @boymissery12
    @boymissery12 4 роки тому +1

    Thank you So much!!! it really Helped a LOT!

  • @HassanAli-xd7jg
    @HassanAli-xd7jg 5 років тому

    Good Job Your are Slave me thanks a lot for all videos

  • @moneerahmed2386
    @moneerahmed2386 5 років тому

    I like it man good job

  • @robbchief
    @robbchief 6 років тому +2

    great video! simple and well explained

  • @philt7568
    @philt7568 4 роки тому

    hi i love your videos.....can you have a example where instead of delete .we can use insert instead

  • @mdmuballigali833
    @mdmuballigali833 5 років тому +2

    thank you so much for making this video

  • @muteebali5011
    @muteebali5011 6 років тому +2

    This method really work

  • @michelledelacerna8117
    @michelledelacerna8117 4 роки тому +1

    It really works, Thanks

  • @nazmunnaharkeya764
    @nazmunnaharkeya764 6 років тому +2

    Thank you very much.It is very helpful tutorial

    • @ableaze231
      @ableaze231 6 років тому

      HELOO CAN YOU GIVE ME YOU CODE AT DROPBOX PLEASE IM NOT WORKING

  • @mohsinullah2622
    @mohsinullah2622 7 років тому +2

    thanks aloooooooooooot for sharing such a great video man...

    • @ableaze231
      @ableaze231 6 років тому

      HELOO CAN YOU GIVE ME YOU CODE AT DROPBOX PLEASE IM NOT WORKING

  • @arkadyutipaul246
    @arkadyutipaul246 5 років тому

    Helpful video! Thanks!

  • @Princejay-xu7ed
    @Princejay-xu7ed 6 років тому

    THis video helps me alot

  • @piyurathnayake5433
    @piyurathnayake5433 4 роки тому +1

    Awesome!!!!!!

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

    Thanks so much bruh! ❤

  • @okbinggoo4464
    @okbinggoo4464 5 років тому

    thank you

  • @bharatmoviz
    @bharatmoviz 7 років тому

    Thanks you really helped me out

  • @indhumathim5746
    @indhumathim5746 7 років тому +1

    Tnx a lot ....i feel happy

  • @mernayoussef3958
    @mernayoussef3958 5 років тому

    thanks alot for your work

  • @anastasioskont9646
    @anastasioskont9646 8 років тому +2

    you are the best

  • @akshaykhairnar1747
    @akshaykhairnar1747 6 років тому

    You are great... Thank you

  • @dempseyofficialmusic
    @dempseyofficialmusic 5 років тому

    Thankyou

  • @hiaQadeer
    @hiaQadeer 7 років тому

    Done ~ working, thanks

  • @muteebali5011
    @muteebali5011 6 років тому +2

    Thanks alot

  • @darrenoelofse4578
    @darrenoelofse4578 7 років тому

    Great help, thank you.

    • @ableaze231
      @ableaze231 6 років тому

      HELOO CAN YOU GIVE ME YOU CODE AT DROPBOX PLEASE IM NOT WORKING

  • @julsdegs7280
    @julsdegs7280 8 років тому

    awesome video man...

  • @hiaQadeer
    @hiaQadeer 7 років тому

    did you close 2nd ?
    ..
    and it's telling me that Undefined index:ID,
    dun know why

  • @nareshpal9450
    @nareshpal9450 7 років тому

    thank you for this tutorial

  • @jvarn50
    @jvarn50 9 років тому +1

    Thank you, I have been working on this for 5 days. Some code that's just a year old won't work. I'm getting a header already exist error though?

  • @carljhiromsalcedo2722
    @carljhiromsalcedo2722 8 років тому +1

    Thanks for this :)

    • @TheProgrammingGeek
      @TheProgrammingGeek  8 років тому

      +Jhirom Salcedo
      You are welcome brother!

    • @ableaze231
      @ableaze231 6 років тому

      HELOO CAN YOU GIVE ME YOU CODE AT DROPBOX PLEASE IM NOT WORKING

  • @Twinsofdhwani
    @Twinsofdhwani 7 років тому +3

    i understood it completely but still this id thing is not working in my lappy it shows unidentified index 'id'

    • @ableaze231
      @ableaze231 6 років тому

      cuz you n00b thats all describe you

    • @satishg6965
      @satishg6965 4 роки тому

      Then define the index

  • @smagesh1974
    @smagesh1974 5 років тому

    Cedric I replaced "@" in the place of "$". The record is not getting deleted. Need help

  • @harrybadesha9868
    @harrybadesha9868 7 років тому

    when i use this code while i run this program it shows ""Parse error: syntax error, unexpected 'header' (T_STRING) in C"" this error now what can i do.

  • @julsdegs7280
    @julsdegs7280 8 років тому

    man can you help me on how do i record .time on my database

  • @George-ow1mn
    @George-ow1mn 7 років тому

    I love you xx

  • @ashwin_Naik.Cinematics
    @ashwin_Naik.Cinematics 5 років тому

    Bro Plz provide the code for Insert , del ,update!!

  • @ableaze231
    @ableaze231 6 років тому

    $sql = "DELETE FROM person WHERE ID='$_GET[id]'"; what problem line 9????? idk please helpme

  • @GauravMahajanAvaron
    @GauravMahajanAvaron 6 років тому

    When I do this, only a single record is shown on the table!

  • @VLevente
    @VLevente 7 років тому

    Notice: Undefined index: ID in H:\XAMPP mydata\htdocs\index.php on line 23

  • @muhammadnabil6260
    @muhammadnabil6260 6 років тому

    mine is not deleted it always loop at the else statement..

  • @masumahmedmurad2938
    @masumahmedmurad2938 7 років тому

    No error bt showing not deleted. Can anybody help?????????

  • @muntaharamzan4928
    @muntaharamzan4928 6 років тому

    i try this so much but it is not working sr, plz can you provide me
    delete, update, insert and update records in database codes plzzzzz

  • @OneAnOnlyRishi
    @OneAnOnlyRishi 8 років тому

    i also get an error. Object not found!
    The requested URL was not found on this server.
    The link on the
    referring
    page seems to be wrong or outdated. Please inform the author of
    that page
    about the error.
    If you think this is a server error, please contact
    the webmaster.
    Error 404
    code:

    • @TheProgrammingGeek
      @TheProgrammingGeek  8 років тому

      +Guru101
      Does the delete operation is performed on database or not?
      This error is because of the wrong page name.

    • @TheProgrammingGeek
      @TheProgrammingGeek  8 років тому

      +Guru101
      I will try to solve this error,
      Try removing the code
      header("refresh:1;url=index.php");
      Please let me know whether this solves the problem or not answer in the comments.
      Thank You!

    • @OneAnOnlyRishi
      @OneAnOnlyRishi 8 років тому

      my database name is books and table name is id.

  • @ellu37buttercookies
    @ellu37buttercookies 8 років тому

    this gives me no errors but it doesn't delete any record.

    • @TheProgrammingGeek
      @TheProgrammingGeek  8 років тому

      +ellu37buttercookies
      Can you provide your code?

    • @amith0tube
      @amith0tube 7 років тому

      i have the same issue. same code, no error, doesnt delete though

  • @khouloudmanaa4619
    @khouloudmanaa4619 5 років тому

    not deleted

  • @karanborate4678
    @karanborate4678 6 років тому

    flop code :(

  • @yogeshbalkrushnasalv
    @yogeshbalkrushnasalv 4 роки тому

    Thank you

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

    thanks

  • @VLevente
    @VLevente 7 років тому +3

    Notice: Undefined index: ID in H:\XAMPP mydata\htdocs\index.php on line 23

    • @Swiftray
      @Swiftray 7 років тому

      just write a "@" in front of the "$"

    • @smagesh1974
      @smagesh1974 5 років тому

      Cedric I replaced "@" in the place of "$". "Undefined Index" Error disappeared. But, the record is not getting deleted. Need help