26: POST and GET Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners

preview_player
Показать описание
POST and GET Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners. The POST and GET superglobal in PHP are used to transfer data from one page to another. These are VERY common in PHP and are used in a lot of scripts which makes this an important lesson to watch.

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

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

Best PHP tutorials I have ever seen! Please do advanced tutorials :)

ocanodiego
Автор

Thanks :) I will watch entire channel :D

SpinningOnTheFly
Автор

honestly can't thank you enough for this tutorial, I was going mad trying to understand this, but this video helped so

geekgirl
Автор

This is just a good no nonsense tutorial!

kingtyphoon
Автор

Another great lesson. I think that sending user data (on a login page) over the URL would be a security risk so would want to use POST. I guess I will find out if I am right in following lessons.

elel
Автор

finally i know how to use them !!!! amazing tutorial you saved my life !!

alanproduction
Автор

Bro u really help me with my project, i had looking for fix bug inside my php and fixed it as soon as saw you video

fantasy
Автор

i really enjoy your videos ..but can you please make a tutorial on ajax and php??

kemmrthappy
Автор

Your tutorials are easy to follow and i am enjoying php.. can you make a lesson on email activation?

pianoLee-sxdx
Автор

Let's not skip ads for this guy.
He deserves it.

lawrencemichael
Автор

Dani, I'm half way thought the PHP series, and I really want to thank you, I always look in youtube how to do certain stuff and find the answer, but when trying to learn something from scratch, my experience hasn't been the best, so I use a lot Udemy, because the contents are ordered, clear and well structured, but I'm really amazed and grateful of what you've accomplished here, thank you so much! already a Huge fan!

mariajosedelrio
Автор

Amazing video, exactly what I was looking for, thank you!

OrientalMelodies
Автор

Hi! when i make an echo with a $_POST variable, it shows normal, but if i pass it to JS and then getelementbyid the program adds like symbols

crackscratch
Автор

hello just echoed out ```echo "<p>bin2hex(360)</p>" ``` Why does this return 333630 to the page?

taospencer
Автор

Can a variable be passed to another page without the form command?

kf
Автор

I tried running the code on my pc but my url didnt show any name or value and its kinda holding me tutorials by the way man

mofikk
Автор

Please make a video to prevent retainig the value when back button is pressed and to prevent resubmission using that back button data that was retained. I hope you knew what I meant / thanks

marineoutsource
Автор

Dear dani
Tnx for your video .
I need to know how i can appear the captcha code in busy or overloaded sites when tis not shown ( just show the image box ) by get and post method.

aminalamdarloo
Автор

Hi, I have written an annonymous function that works once a page is loaded but upon first landing on the site I get undefined function as in the address bar the ?page=home is missing. The title shows the correct title, Home Page, and the body of text that I have also shows the page name but still I get the error.

Do you have a tutorial covering this, I cannot locate one, or are you thinking of doing 1?

$page = $_GET["page"];

$getPage = function() use ($page){

if(isset($_GET["page"])){
echo ucfirst($page) . " Page.";
} else {
echo "Home Page";
//This echo is being used on first landing on site
// by the title and the body of text naming the page
// Home page.
}

};

Call it by

$getPage();

Thanks

DavidAshby
Автор

You are awesome! Will you, please, do a NodeJS tutorial? :)

anastasiosmexias