PHP - Delete Records From MYSQL Database Using PHP

Поделиться
HTML-код
  • Опубликовано: 8 ноя 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.

  • @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";
    }

  • @Swiftray
    @Swiftray 7 лет назад +3

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

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

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

  • @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...

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

    Indians are the Base behind my programming skills

  • @Brrrndy
    @Brrrndy 5 лет назад +3

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

  • @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.

  • @bonnaidjicko1562
    @bonnaidjicko1562 6 лет назад

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

  • @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!

  • @CarlosReyes-qc5wg
    @CarlosReyes-qc5wg 4 года назад +1

    Excellent video, you helped me a lot!

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

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

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

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

  • @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

  • @HassanAli-xd7jg
    @HassanAli-xd7jg 5 лет назад

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

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

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

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

    I like it man good job

  • @robbchief
    @robbchief 6 лет назад +2

    great video! simple and well explained

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

    Thank you sir

  • @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

  • @mdmuballigali833
    @mdmuballigali833 5 лет назад +2

    thank you so much for making this video

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

    Thanks so much bruh! ❤

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

    It really works, Thanks

  • @Princejay-xu7ed
    @Princejay-xu7ed 6 лет назад

    THis video helps me alot

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

    Helpful video! Thanks!

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

    Awesome!!!!!!

  • @bharatmoviz
    @bharatmoviz 7 лет назад

    Thanks you really helped me out

  • @muteebali5011
    @muteebali5011 6 лет назад +2

    This method really work

  • @indhumathim5746
    @indhumathim5746 7 лет назад +1

    Tnx a lot ....i feel happy

  • @akshaykhairnar1747
    @akshaykhairnar1747 6 лет назад

    You are great... Thank you

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

    thanks alot for your work

  • @hiaQadeer
    @hiaQadeer 7 лет назад

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

  • @anastasioskont9646
    @anastasioskont9646 7 лет назад +2

    you are the best

  • @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...

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

    thank you

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

    Thankyou

  • @hiaQadeer
    @hiaQadeer 7 лет назад

    Done ~ working, thanks

  • @nareshpal9450
    @nareshpal9450 7 лет назад

    thank you for this tutorial

  • @muteebali5011
    @muteebali5011 6 лет назад +2

    Thanks alot

  • @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

  • @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.

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

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

  • @ableaze231
    @ableaze231 6 лет назад

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

  • @julsdegs7280
    @julsdegs7280 8 лет назад

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

  • @GauravMahajanAvaron
    @GauravMahajanAvaron 6 лет назад

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

  • @muhammadnabil6260
    @muhammadnabil6260 6 лет назад

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

  • @George-ow1mn
    @George-ow1mn 7 лет назад

    I love you xx

  • @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.

  • @ashwin_Naik.Cinematics
    @ashwin_Naik.Cinematics 5 лет назад

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

  • @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

  • @masumahmedmurad2938
    @masumahmedmurad2938 7 лет назад

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

  • @VLevente
    @VLevente 7 лет назад

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

  • @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