Assignment Operators | PHP for beginners | Learn PHP | PHP Programming | Learn PHP in 2020

preview_player
Показать описание
Hi guys, welcome to my PHP course for beginners in 2020.

Do you want to learn PHP from scratch? In this course, I will be going through all the basics of PHP. I will show you how you could use PHP in HTML code, what variables and data types are, all the different type of operators, control structures, user functions and built in functions and what the super globals are and how you could use them.

After learning all the basics topics, I want to focus on databases using MySQL because we will be creating a login system after.

The main focus in this episode are assignment operators. Assignment operators are operators that tend to do some arithmetic operations and store the result in the same variable. There is a total of 6 assignment operators that you could use in PHP:
1. += which is equal to add and assing;
2. -+ which is equal to subtract and assign
3. *= which is equal to multiply and assign/= which is equal to divide and assign quotient
4. %= which is equal to divide and assign modulus
5. .= to concatenate and assign (it can only be used for strings)

My official websites for questions or anything else:

If you are new to programming and you want to learn HTML5 and CSS3, I recommend you to follow the following course first:

Follow me on social media

Useful products for programming and recording that I use
Microphone I use:

My laptop stand:

External monitor:

Reading LED Desk lamp:

External Hard Drive to save projects:

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

I personally use the .= (concatenation and assign) mostly for building SQL queries. Makes them easier to debug as well.

CHSKnight