9 | PHP Exercise for Beginners: Create a Calculator! | 2023 | Learn PHP Full Course for Beginners

preview_player
Показать описание
In this PHP tutorial, we will finally create our first PHP application, using everything we have learned up until now! 🙂 In this video, we will create a simple PHP calculator, that can be used to teach you how to implement PHP, based on everything you have learned.

➤ 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 YouTube 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 :)

Рекомендации по теме
Комментарии
Автор

Is it wrong to use htmlspecialchars with input numbers instead of filter_input ?

amirgohary
Автор

I'm new to PHP and building this calculator brought so much joy to learning. I wish you had more of these mini projects within your courses.

FirdavsiWebDev
Автор

whoa thought you were done with PHP. Glad to see you are still building tutorials for it. I am a full time PHP developer now and I started learning to code from videos of yours from ages ago. Well before ChatGPT, tuts like yours were one of the best ways to learn. I still use your file upload script that I built from watching your tutorial back a million years ago

EverydayJason
Автор

Thanks, Dani! Your videos are great. They make learning so much easier, because I watch not just because "I have to learn", but because they're fun to watch and easy to understand. And that's quite an achievment, if you ask me!

Commenter
Автор

Back to basics 😍. Really enjoy yours videos. Thanks a lot.

rkendtoend
Автор

Im planning to learn php soon.. i know which channel im gonna watch 😊 thank you for your time

constantine
Автор

Dear Dani,
it is a pleasure to watch your tutorials. Thanks for your work!
You are wondering why it is possible to type in some letters in the numb-input-field and the reason for that is: "The number e (Euler's number) is a mathematical constant approximately equal to 2.71828 that can be characterized in many ways."(src="wiki")

falkOnAir
Автор

I liked your way of teaching. Please continue with it.If you have read my comment, then reply.

mahnooraltaf
Автор

YOU <3 <3 Please can u do more projects ur the only person that explain things Clearly and smoth please keeep doing

lahcenaouina
Автор

Good tutorial as usual from a nice teacher!

AgenceWebSigma
Автор

Keep it up bro UR doing Awesome Work 👍

mayureshchavan
Автор

This is very useful tutorial thank you

sonamohialdin
Автор

Thank you so much sir, you are an amazing teacher best of the best

The-Mater
Автор

Learning PHP for the server side just feels right, especially with your way of explaining things. I've been scratching my head trying to learn Flask(python). It feels weird especially because of OOP.

sleepysapphire
Автор

It's nice so much time you take to explaine why en what you're doing

GerritforBazeja
Автор

Hello dani, I’m trying to learn how to create a chat system in php. I feel like learning that would take me to another level. Can you do tutorial on that please ?☺️

deitunegold
Автор

About double or single quotes around 28:15 I did notice that in my code when I don't use quotes to define the class in html it works fine too (in something I created myself). I wrote the following: <?php echo "<p class=calc></p>" and I noticed that when processed it does return the classname with double quotes around it. Now I do have 2 remarks. 1. I did not test if it also works with a dash in the classname (so with calc-result) and 2. I don't know if it is good practice either...

WillemsWimMH
Автор

The letter "e" at 21:52, is it not the Euler's constant? Maybe HTML considers it at a number. Or more likely to be like 1e10 for example, to the power of 10.

AleJFF
Автор

In case of divide, i would also check the value of num2. Division by 0 is an illegal operation.

alexsaptetrei
Автор

It was a very nice video, thank you. Could you make a video with a few examples to show the differences between htmlspecialchars() and filter_input()?

mortwain