PHP Tutorial 12 - Logical Operators (PHP For Beginners)

preview_player
Показать описание
Logical operators can be used in conditions to add more than one condition or have a choice of conditions. In this video we will cover the And operator and the Or operator.

For more information, check out the website:

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

Another person to say you are great at teaching PHP! Far and away better than other tutorials. Keep up the good work!

robert
Автор

I have been watching your tutorials back to back all day AND I subscribed. I myself love to program and you have been very helpful. I have been trying to learn PHP a while. Thank you.

maxxfenning
Автор

Many thanks!!!

You have done such an incredible job.
I am new in programming world and finding your tutorials extremely helpful.
Keep up the good job...

MpeteloVemba
Автор

Thanks for the tutorials.  I am learning php (on the job training) and these videos are helping (along with reading and other tutorials).

andyt
Автор

Nice tutorial, clearly spoken and easy to understand..

chikehenderson
Автор

Thank you so much these tutorials are a great help alongside my uni practicals :)

YankeeCat
Автор

Many Thanks Chris!
your videos are really very helpful and interesting to learn...!! :)

TaraArya
Автор

beautiful tutorials ever, .. thumbs up..

christiandavebunales
Автор

Thanks for taking the time to do this

SoulGoodman
Автор

thanks for the tutorials ...your are great!! keep them up :)

edenr
Автор

i am working on these tutorials these days. They are great. I would like to ask what is the trend on web development? in other words, what aspects or features of developing websites or web applications are receiving more attention?

aar
Автор

wow this is cocaine to me. Can`t get enough of this xD

HikikomoriDev
Автор

you have created nice tutorials. I have a question if password matching then i want to open a new page, not echo 'welcome comment'

SohelRana-gwhr
Автор

now I noticed and tested that && and || work in place of the and and or that you used is one way more desirable than the other?

metaknight
Автор

u can use "or" and "and" once?

sigridshieldon
Автор

Hi Chris! Quick question: what about "dynamic" if statements? Example: if name is Chris, echo "Welcome Chris!", if name is Angie, echo "Welcome Angie!" and so on (let's say we have a list of 100 names). I suppose we don't type this statement 100 times :-)

juliamihet
Автор

Can you tell me? how can I Insert sql injection from these kind of login systems

srahulelite
Автор

i like these videos have you done the forum creation yet mate if yes please inbox me the link also would be good to have a way of IM to talk about php projects i have a few ideas and have a few home made php scripts we could maybe swap stuff and ideas maybe? i like collaborating with any php coders for future game ideas and such.

Автор

I set two variables, the $name and the $password.  In my "If" statement, I use "and" as the logical operator to ensure that both the variables have been met, using (==), without the brackets of course.  If I change the password after the 'and' so it no longer matches the variable, then reload the page, I still get my echo executed.  It appears that my "and" operator is being ignored... I can't figure out why.

TragcMagc
Автор

do you teach something else? after Im done with php i would like to proceed. Once again, thanks!

rijanh