8 | Conditions & Control Structures in PHP | 2023 | Learn PHP Full Course for Beginners

  Рет қаралды 37,756

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 30
@Elena-rr5du
@Elena-rr5du Жыл бұрын
I started to learn how to code with your videos back in 2020. I do it only as a hobby, so I take long breaks between projects and forget a lot of things. I always ended up back in your channel every time I want to do something new. That's why I wanted to thank you for such wonderful videos! This is my first time hearing about the "match()"' condition, and I'm in love with it! I usually use so many "if-elseif-else" just to change little things, like the colour of the text depending a number, but now I can do tiny lines with the "match()". Thank you for teaching us even newest ways to improve our codes! :D
@Dani_Krossing
@Dani_Krossing Жыл бұрын
Glad you are enjoying the videos!
@محارب-ه4ذ
@محارب-ه4ذ Жыл бұрын
This "match()" thing looks very useful, thanks bro !
@SemmiEzaitouni
@SemmiEzaitouni 9 күн бұрын
just wanted to say that when checking for conditions, using early returns by checking for conditions that don’t match your condition can really enhance code readability. It helps reduce nesting, clarifies the main flow and makes the code shorter
@Dani_Krossing
@Dani_Krossing 9 күн бұрын
100% agree 🙂 later in the course, I show it that was as well.
@kittencollector7381
@kittencollector7381 Жыл бұрын
Hi Dani! I've been watching your videos non-stop the past few days. You're the best teacher on this sort of thing, I swear. I can just grasp things with you that I find harder to grasp with others. I will forever be grateful for these informative and helpful videos. 🙏 I hope you continue to make more video lessons. It's also really engaging the way you teach. For a suggestion could you maybe show how a website would look when you apply certain changes? The way you teach is super helpful but it would also be nice to follow along to visually see the change or maybe little ms paint drawings as demonstration lol. If you have a few videos like/or on that I might have missed them so I'm sorry! But nonetheless I literally always come to you for my go-to for coding. You're the best and I literally can't say that enough. Thank you!
@fissionchips223
@fissionchips223 Жыл бұрын
Another fantastic presentation! I can't remember smiling this much while learning, Dani. Your style just makes for terrific education all-around. After multiple degrees, decades in academia and many, many other learning endeavors, I would place your teaching skills at the very top. I never expected this to be fun - THANK YOU SO MUCH for making these videos. They have made a tremendous impact in many folks' lives, obviously! Cheers, man!
@VargasForth
@VargasForth Жыл бұрын
I really love the way you teach us. Very fantastic presentation thank you so much for making these videos!.
@borisndoh1098
@borisndoh1098 Жыл бұрын
I learned quite some stuffs here which were minimized in my Javascript course
@RogerAndy-z1e
@RogerAndy-z1e 5 ай бұрын
thank you dani , you give me a what is definition of switch and if and match statement clearly , that is very helpful love you!
@ShawnRitch
@ShawnRitch Жыл бұрын
Well done Dani. Your teaching and video skills are getting better all the time. Thanks for all your hard work :)
@L0kacitron
@L0kacitron 5 ай бұрын
Ty very much for the informative series on PHP. I come from the MERN stack and felt that it was time to learn another language. Looking forward to do a few test projects and learn Laravel at some stage. :)
@Stoney_Eagle
@Stoney_Eagle Жыл бұрын
The match one is new to me, I like it. Much better than a ternary. I ALWAYS use trailing commas, I hate it that it breaks in json and am forced to not have them.
@lahoucineoldakdim7778
@lahoucineoldakdim7778 Жыл бұрын
Awesome tuto. Can you share us how to create a Router class that maps the incoming request URL to a specific controller method. 😚
@saygonow
@saygonow Жыл бұрын
That Sounds like Model, View Control (MVC) I'm interested on that also 🙂
@Stoney_Eagle
@Stoney_Eagle Жыл бұрын
Sign me up too 🤘
@AxxionMarketPlace-iu6ri
@AxxionMarketPlace-iu6ri Жыл бұрын
Thank you
@henrywalker9057
@henrywalker9057 Жыл бұрын
Hi Dani thnx alot for the gud work ur doing to help we young developers with the required knowledge and skills , we really appreciate and may the almighty God reward u abundantly
@YvanDarcyIteriteka
@YvanDarcyIteriteka 8 ай бұрын
What should I do, if I want to use if..elseif...elseif..else in such a way that every single condition has to be cheched. Thanks! Your videos are instructive and helpful.
@cryptoknight7256
@cryptoknight7256 Жыл бұрын
just excellent!
@guillerjamesmantala7311
@guillerjamesmantala7311 2 ай бұрын
thankyou sir
@millannyimbili9608
@millannyimbili9608 Жыл бұрын
Dani Hope You are having a good time. Can you teach on how to write an Api with vanilla PHP?
@AleJFF25
@AleJFF25 Жыл бұрын
bro, you're a mix of Elon Musk with someone else i can't figure out now haha. Anyways, great content, thanks for that.
@iseemtobelost8265
@iseemtobelost8265 8 ай бұрын
Mr beast
@davidmolina4077
@davidmolina4077 8 ай бұрын
Amazing job man! 😮 Your aim and conciseness to explain everything is admirable, I understood concepts that in JavaScript wasn't fully getting in an easy and clear way. Thank you so much for the effort on putting this quality content out there🙏 One question tho: Would it be possible to check for a range of numbers? For example in the case of something like this but well written: $result = match($a) { [1-20], [30-40] => "You lose", [21-29] => "You win", };
@Dani_Krossing
@Dani_Krossing 8 ай бұрын
Thank you 😊 Here are a few ways you can do what you asked: $number = 25; switch ($number) { case ($number >= 1 && $number = 30 && $number = 21 && $number = 1 && $number = 30 && $number
@davidmolina4077
@davidmolina4077 8 ай бұрын
@@Dani_Krossing Of course! Seems so obvious now 😂 Thank you so much Dani, you're the real deal, you just gained another devoted follower/student. 🙏 Hope you're having an awesome weekend!
@hellofromiqbal
@hellofromiqbal 7 ай бұрын
You look like Elon Musk for a quick glance lol. Nice tutorials by the way. Thanks!
@lilcozygamer
@lilcozygamer Жыл бұрын
FIRST!!!
@heismyke
@heismyke Жыл бұрын
SECOND!!!!!
Каха и лужа  #непосредственнокаха
00:15
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 13 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
You Won’t Believe What Excel’s Copilot Can Do! (new updates)
10:37
Каха и лужа  #непосредственнокаха
00:15