create read update delete (CRUD) in php and mysql using Php Data Object (pdo)

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • You will get working file and tuts of this video from github page.
    github.com/pol... .
    I have showed how to do CRUD using php pdo and mysql database.

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

  • @pepitopepitopepe1
    @pepitopepitopepe1 3 года назад +6

    Men, you made my day. I had to finiash a project for this night and you are helping me a lot to understand every single step. You are a beast!

  • @otuikorsamuel9960
    @otuikorsamuel9960 6 лет назад +6

    Wow...this video is awesome. I was able to follow up very well and you my man "polodev" you're amazing. thanks for this tutorial.

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

    Who knew it could be useful in 2020?
    Thank you very much for the brief explanation.

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

    I like your teaching style!

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

    Getting it build, working perfectly.
    It would be interesting to include a foreign key field to make a "selec option".
    I've done several searches on the internet and can't find an example of this.

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

    It's cool your tutorial so you have to show exactly how to create database in Mysql because the beginners thay do not understand, it's great thnx

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

    thank you! Well explained! maybe one beginner issue: even using your code, - the bootstrap Navbar is vertically oriented, not horizontally as shown in the video. Where can I change the orientation?

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

    Sir I swear to god, you are a saviour ♥

  • @mustafa-ahmed-dev
    @mustafa-ahmed-dev Год назад

    Man thank you so much, I really needed this type of explanation

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

    Pretty easy explanation for grab the CRUD. Thanks a lot my dear php boss!

  • @mikekennedy8644
    @mikekennedy8644 6 лет назад +1

    Very useful video, thanks for taking the time to create and upload.

  • @АлексейАлексеевич-ш7ю

    Thank you very much, It may sound awkward but in this video I've found how to set redirect with header() without cleaning the cash...

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

    Excellent video with clear explanation and example 👌

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

    Great video about CRUD in php

  • @ryana-6762
    @ryana-6762 6 лет назад +5

    Can you please do a video about PDO, PHP and Ajax, and can you do a continuation video for this by doing a user login so only admin users can edit and delete using PDO structure? Thanks

    • @ryana-6762
      @ryana-6762 6 лет назад

      And great video Polodev!!

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

    Thank you bro Sooooooo much ..... You're very Amaziiing
    This video is awesome .

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

    great job keep going 👍👍

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

    Very simple explanation! Very very nice! Thank you for the video

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

    Merci d'avoir fait cette video pour aider les debutants que nous sommes beaucoup de courage a vous :)

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

    GREAT job! this is very simple and functional sample. Have you another one for new db button or login?

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

    ah rifado, mi compilla el Julian dice que sisas

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

    Merci beaucoup Mr pour cette vidéo, que Dieu vous bénisse

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

    After creating a person, if i refresh, duplicate values added to the database.
    By adding header, confirmation message does not shows, how to handle?

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

    Awesome! Really thankful for your video, thanks

  • @LifeQuotes12
    @LifeQuotes12 5 лет назад +1

    My update is not working. Getting this error: Undefined index: id. But I already added the $id = $_GET['id'] in it. Somebody help? Thanks

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

    Can u make a playlist of a crash course about the Laravel framework?

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

    Many thanks, good video, would be nice if you can do a video where you include login and user. thanjs again.

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

    Hi Dev, Can you please show "Search" Option in your Main Page. That will be quite interesting for me as a new learner. Urgent.

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

      Bhaskar Chatterjee bro, i will do some days

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

      Bhaskar Chatterjee hey bro, i have made a video in my language. Here is the link ruclips.net/video/ZWKhHiX_dJQ/видео.html you will get documentation bottom of the video which is English

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

      This was an excellent video Dev. I really liked it. Just to add one another request...need help on how to have add a bootstrap confirmation dialog box...floating one once the user either agrees to accept or reject any CRUD changes....mean to say not the prompt with localhost in titlebar. Pls add this to the original video of CRUD as Part-2. Also data export from CRUD view to CSV or Excel or PDF format is required. Your original video does not have any functionality on the Navbar you added...like profile based login. Aside, Pls share some series of tutorial video on Json.

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

      Bro, I am working in a company. I am not having enough time right now. I will make video definitely in future. Take care. Wish I could help you right now.

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

      Dev, I understand you. No issues...Pls take your time...I am really feeling privileged to get this support and guidance from you. I searched the net but the way you explain things and demonstrate is really great. As a newbie I am really thankful to you for this support....take care of your job first and it's very important....all the best...☆☆☆

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

    Well done mister, well done.

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

    Create all relatives table then linking table or relation relate column join and fetch
    ऐसी टेबल का युट्युब विडियो दिखाये

  • @Oifilipemeia
    @Oifilipemeia 6 лет назад +1

    Well explained. I like

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

      Dear, I gave a like and subscribed to chanel

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

      Filipe Meia thanks bro.

  • @Josbinaire
    @Josbinaire 6 лет назад +1

    It is awesome!
    Thank you a lot!!!!!

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

    Thank you! It's Amazing

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

    thx learned new by just listening

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

    je suis francophone mais j'ai bien compris merci

  • @vittorioiamarino7568
    @vittorioiamarino7568 6 лет назад +1

    Very nice video keep going!

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

      Thanks lamarino

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

    thanks man ....love this tutorial

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

    new subscriber😍😍

  • @AP-ol7tj
    @AP-ol7tj 2 года назад

    Thank you sir!

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

    sir i have a problem when i click the create a person button, no message appears, and no records appears to my database. can you help me thanks

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

    Awesome video! Thank you sir :)

  • @angelicadagal9542
    @angelicadagal9542 6 лет назад +1

    How can the viewers of my website read this without action buttons?

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

    Cannot display validation messages or message after saving data. $message does nothing?

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

    Elegant

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

    Thank you Sir

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

    why only ->fetchAll(PDO::FETCH_OBJ);
    is working not PDO::FETCH_lazy

  • @shishirkumarsky
    @shishirkumarsky 6 лет назад +1

    wonderful!

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

    BIG THANKS

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

    Thank you so much!

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

    can v modify the input data to whatever v want?

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

    wow powerful video

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

    Excellent x 1000

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

    thank you so much

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

    Well explained...!!! Thanks but,
    where the hell is your .css file ? Dam....... Is your browser is making css for you ?

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

    When you delete id 1, id 2 is still id 2. How would i be able to sort it back, like 2 goes to 1, and 3 goes to 2? .. And so on

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

      Math PL its a features of mysql. You can ignore that. As a demonstration purpose i have showed id column. But in real life no one showed id column. Thank you

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

      Ok :D

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

    good

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

    Can you please add search bar in the index page and provide video

  • @giaoanhaygah-giaoanhay
    @giaoanhaygah-giaoanhay 6 лет назад

    Thank Your

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

    congratulations

  • @adnanraja3373
    @adnanraja3373 6 лет назад +1

    great job (Y)

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

    Hello, i am having a problem with my update, it says successfully update but no update happening in the database, please help!

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

      Hansel Bugwat can you copy update code from my code? My code link available in bottom of the video. Thanks Hansel

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

      I am actually working with an android studio using phpmyadmin as a database Polodev and i thought that the problem was in the php, i tried your php update codes and it work perfectly fine. I guess the problem was on my java script and i'm still working on it. Thank you for your response :) Your tutorial is great and is very useful.

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

      Thanks Hansel Bugwat

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

    at 23:20, how were you able to get id in the url?

    • @truecodemedia5099
      @truecodemedia5099 6 лет назад +1

      Lion Tamer Lion Tamer at 22:10 he has created an anchor tag.and you can see in href attribute has given a link which is "edit.php?id=.
      So here when foreach loop is running on $people object on every iteration it is assigning $person->id to that edit button. And we are using GET method to receive that parameter. I hope this will help you. Thanks.

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

    thank you pro

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

    Sir how to connect database to live

  • @96namptit22
    @96namptit22 6 лет назад

    nice

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

    thx man

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

    is it easy to create files using terminal?

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

      Miel Seña yes bro

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

    hi! do you have a repo for this? thanks!

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

      Please see desc beneath the video

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

      @@polodev thank you

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

    he change insert into update? so the insert data method was gone??

    • @Saulens110
      @Saulens110 5 лет назад +1

      When updating data, you would use "UPDATE" not "INSERT".... because you don't want to add data, but amend it

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

    whats your code editor?

  • @mrwhy007up
    @mrwhy007up 5 лет назад +1

    plz any one explain this without shortcut < href="edit.php?id=" just write this code without short cut

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

      It mean when click on this link/edit button.... then it will go edit.php page by getting user id ($person->id)

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

    There is some mistakes in edit.Php code

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

    OMG WHAT A MESS MAN

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

    Bad Audio!

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

    Can you send me the codes?

    • @polodev
      @polodev  6 лет назад +1

      I have uploaded on github. github.com/polodev/youtube-php-crud . just download code from github. thanks for your interest

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

      I am stuck at my error in edit.php, can you help me?

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

    Thank you sir

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

    thank you very much

  • @sakthivel-jt3jk
    @sakthivel-jt3jk 6 лет назад +1

    Thank Your

  • @sakthivel-jt3jk
    @sakthivel-jt3jk 6 лет назад +1

    Thank Your