25: Different Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners

preview_player
Показать описание
Different Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners. Today we will learn about PHP superglobals and have a small introduction to some of the most commonly used ones.

➤ 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 to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

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

I’ve no idea why YouTube didn’t recommend this channel to me more... You saved my life dude...

joelthomson
Автор

That login system buildup since the first episode is making me hyped :D

NooneWillKnowExeptMe
Автор

if I got a penny for every time Dani says "login" system. I could buy Google. Jokes a side this series is AWESOME. I haven't programmed PHP in a while and your series are super refreshing and free too?!?!
Much love dude. you're actually a better / less complicated teacher than my PHP teacher. Thanks again fella.

miquel
Автор

Really, buddy, I watched too many tutorials on PHP but your tutorials are pretty ALL THE BEST AND THANKS...

kapilanand
Автор

I was so confused but now this makes so much more sense hahaha. Right at 2:31 this clicked. Great tutorial 👍

DriftingDraftsman
Автор

Thank you for this lesson you saved me you're a great teacher

darwintchicaya
Автор

Can you make a video on how to let user send message to our Email through form on our website ? And also a Forget password functionality, where a link is sent to users email to reset password. Thank you. Your videos are helping me so much.

ajazmiah
Автор

thank you thank you thank you thank you thank you thank you thank you thank you thank you thank

Alaska_Olympia
Автор

So far, I haven't needed to see the full source code for the different lessons, but I'm stumped on this one. - Is the full source code for this lesson available someplace for us to look at?

JoeCullity
Автор

Great!)I like it a lot!Very useful for me

viktorlabinskyy
Автор

we can also do
global $variableName;
then use it by calling it's name
etc:
global $x;
echo $x;

llBestBoyll
Автор

Am I wrong or is this not the best example for $GLOBALS?

<?php
$x = 5;
function something() {
$y = 10;
echo $y;
}
something();
?>

Would work too and echo out 10?
Maybe somebody has another example that this feature makes more clear?
Or am I wrong?

dustin
Автор

what if I don't use GLOBALS??
it is working with just $x without any error..

hashrajput
Автор

is it possible to call a function to a different webpage?
if (yes){
HOW?
}

jokes aside, id appreciate if you can respond to this

darylchristianmulles
Автор

Isnt this the same thing?
as function blah(x){
}?

willthe
Автор

But wouldn't it be easier to just write:


function something () {
$y = 10;
echo $x;
}
something();


?


I mean, it would do exactly the same thing. I didn't really get the principle of GLOBALS

Somerandomdudefromtheinternet
join shbcf.ru