3 Beginner Mistakes in PHP When it Comes to Form Data | Common PHP Beginner Mistakes | PHP Tips

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • In this video I will go over some PHP tips for beginners, and cover 3 common beginner mistakes in PHP when it comes to form data. These mistakes involve improper handling of data, both in code and when querying a database.
    common php mistakes, common php beginner mistakes, 3 beginner mistakes in php when it comes to form data, 3 beginner mistakes in php when handling form data, php beginner tips, php common mistakes, php beginner mistakes, php tips and tricks, php tips for beginners, php form handling, php form validation, php validation tips, php validation tutorial, php form data validation for beginners, php form data tips for beginners, php security for beginners, common php security mistakes
    My 2023 PHP Course: • 1 | Introduction to PH...
    ➤ GET ACCESS TO MY LESSON MATERIAL HERE!
    First of all, thank you for all the support you have given me!
    I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
    I am now using Patreon and UA-cam Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
    I hope you will find it helpful :)
    Memberships: / @dani_krossing
    Patreon: / mmtuts

КОМЕНТАРІ • 32

  • @SultanovAsrorbek
    @SultanovAsrorbek 11 місяців тому +6

    A year ago i watched old php lessons of your. Now i am a Symfony developer. Thanks you!!
    Watching from Uzbekistan!!

  • @user-kq4xv7fd2c
    @user-kq4xv7fd2c 11 місяців тому +4

    Let me tell you something, YOU ARE MERELY AMAZING!!!

  • @richardlozano2238
    @richardlozano2238 11 місяців тому +4

    First comment😊, thank you for teaching us.

  • @pretooo
    @pretooo 11 місяців тому +7

    And here are the timestamps:
    0:00 Intro
    0:28 Validation & Sanatation of Data (Ensures safety of Data)
    2:57 Deprecated MySQL-Functions in PHP (Ensures safety of Databse)
    4:41 Use Prepared Statements (Prevents misuse of Database)

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому

      Thanks I forgot it on this one. 🙂 Will add them later

  • @quicksupport2175
    @quicksupport2175 11 місяців тому +1

    Nice topic

  • @missulu
    @missulu 11 місяців тому +1

    Great video! All good information!

  • @ShawnRitch
    @ShawnRitch 9 місяців тому +1

    Good start on getting CRUD functions processed securely. Thanks Dani :)

  • @GeorgePapaya
    @GeorgePapaya 11 місяців тому +1

    Awesome

  • @sonamohialdin3376
    @sonamohialdin3376 11 місяців тому +1

    So good tutorial thank you

  • @chikeziechinonso4671
    @chikeziechinonso4671 11 місяців тому +1

    You made me learn oop PHP
    I really appreciate

  • @None-zv1ju
    @None-zv1ju 8 місяців тому

    Is secure to have all mysql data like password and username in php file?

  • @SultanovAsrorbek
    @SultanovAsrorbek 11 місяців тому +1

    I use prepared statemes in execture(array(
    ':id' => $id
    ))
    like this intead of using each of them like this bindParam() ... etc. What do you think? Is this same as passing to execute function?

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому +3

      Yes that is perfectly fine 🙂 You can both use named and non-named parameters. In my newest PHP course I show both ways.
      Edit:
      Oh just noticed you used named parameters in the array. Yes you can do that too. But using bindParam() you have more control over the parameter type and binding options. You can specify the parameter type (example PDO::PARAM_INT for an integer) and choose whether the value is bound by reference or by value.

  • @CsMuia
    @CsMuia 11 місяців тому

    Informative video as always, great pleasure learning from the best. I like your Audio setup, sound is loud and clear. What are you using for audio and visual? I will appreciate your recommendations, planning to set up a UA-cam channel before the end of the year. Keep up the good work.

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому

      Thank you 😊 OBS for recording, and Premiere for editing, color grading, and audio enhancement 🙂

    • @CsMuia
      @CsMuia 11 місяців тому

      @@Dani_Krossing Thank you Dani, I am learning OBS through your able tutorials. Downloaded and installed, looking forward to the next installment of your tutorials. One more thing, which mic device do you recommend?

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому +1

      It depends a lot on what you prefer. I personally just use a USB microphone, which provides great quality and doesn’t require a more expensive investment by getting a soundboard.
      Mic wise, I prefer the Blue Yeti or the Audio Technica AT2020 (USB version of course), but if you have a soundboard, then the AT2020 also comes as a normal mic.
      The Yeti has a deeper more “pleasent” sound to it, where as the AT2020 has a clearer sound to it. 🙂
      Look wise the AT2020 is dark and has a cool blue light indicator in front, to let you know which side is which. The Yeti comes in a variety of colors, where I prefer the dark grey.
      But keep in mind that the Yeti is great for just standing on the desk in front of you, where the AT2020 is better in a mic arm.
      Hope this was useful 🙂

    • @CsMuia
      @CsMuia 11 місяців тому +1

      @@Dani_Krossing 101% helpful, thank you once more. Enjoy the rest of your day.

  • @Stoney_Eagle
    @Stoney_Eagle 11 місяців тому +1

    There is a difference between depreciated and deprecated.
    Functions or features that you should no longer use are marked as deprecated (de-pre-ca-ted) 😉
    The marquee tag has been deprecated for 10 years or so by the html spec, but is still available in the major browsers even tho they are not required to support the tag, meaning it could break at some point if the vendor decides to remove it.
    Just like the old mysql functions in php, they still work but could be removed at any time in a new version of php. (they probably never will tho😂)

    • @john43397
      @john43397 4 місяці тому +1

      depreciated / depreciation = when something you buy drops in value a car depreciates as soon as the first buyer turns on the ignition. Unless the car survives to become vintage. Deprecated = the manufacture or engineer will not manufacture any longer or service anything any more because the item is old and/or shown to be no longer worth their time supporting it or manufacturing it. Something better has come along. If a manufacture says something will be deprecated then it will be deprecated, better stop coding how you used to.

  • @suljutsu8063
    @suljutsu8063 11 місяців тому

    I learned a lot in this channel I'm just new in php but i just want to know to add multiple data in data base in just one process for example adding 5 data in one process😂 is that even possible?😅😅😅 I'm just curious though 🤔😊

  • @mohoom
    @mohoom Місяць тому

    come back dude 😕 miss your tutorials

  • @PSEC_PrajnaVishwanath
    @PSEC_PrajnaVishwanath 11 місяців тому

    I've gone through all the vdos of the older php playlist of yours, just wanted to know if it is fine to add php on my resume with that knowledge

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому +1

      My older course is lacking many elements, such as proper security. My newer course is so much better at explaining the different subjects in depth, as well as covering security.
      If you were to watch the new course + the OOP PHP course, then you could say you have a "fundamental understanding of core PHP".
      If you want to be a more "complete PHP developer", then you should also add a framework to your knowledge. Such as Laravel. Since a framework is more commonly used in a professional production environment.

  • @AtomTCP
    @AtomTCP 11 місяців тому

    How to do authentication and authorization in PHP rest api in vanilla php without frameworks and libs

  • @EkenoEsekon
    @EkenoEsekon 11 місяців тому +1

    The Fifth to comment 😊

  • @eliaswangblad1798
    @eliaswangblad1798 11 місяців тому +2

    1st

  • @kabhikachambala3392
    @kabhikachambala3392 11 місяців тому

    Please we need to see download of Document using php

  • @2bpencildesign603
    @2bpencildesign603 9 місяців тому

    these tutorials are informative but I am deer in headlights arg my brain

  • @m3ragAl3lm
    @m3ragAl3lm 3 місяці тому

    bro looks like elon musk from canda
    :)

  • @S1NA-Gaming
    @S1NA-Gaming 11 місяців тому +1

    Third :D