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 🙂
Material for this lesson:
Nguồn:https://phprealestatescript.com/
Xem Thêm Bài Viết Khác:https://phprealestatescript.com/lap-trinh-php
My echo $_POST['name']; is not working
i don't know why post work like get? i use post and it shows the information in url Why???
I found the solution on the official PHP Documentation website: https://www.php.net/manual/en/reserved.variables.get.php best solution I found so far..
You are awesome! Will you ,please , do a NodeJS tutorial? 🙂
That is a shit tutorial, very misleading
Can a variable be passed to another page without the form command?
i dont know why but i am getting the same results whether i use the methods POST or GET…the URL shows me name=value……a small help would be very helpful
so, what's the point of using get while you can just use post method, you also mentioned before in your html & css playlist that get method has a limit of 3000 char while post method does not have any limit
why does GET and POST have an underscore?
I tried running the code on my pc but my url didnt show any name or value and its kinda holding me back……..nice tutorials by the way man
real lif e example of this the url on this page says
?v=pkxqlfLioCk&index=26&list=PL0eyrZgxdwhwBToawjm9faF1ixePexft-
Nice video!
Your tutorials are easy to follow and i am enjoying php.. can you make a lesson on email activation?
high quality video
Thanks 🙂 I will watch entire channel 😀
Hello Daniel,
Apparently nobody else had this problem or they just found solution for it. I have this error message as following;
Notice: Undefined index: name in /path/nameoffile.php on line 31
It works though, I can get the result. But cannot get rid of this error message!
I googled it and found people searching for an answer for the same problem. I tried all of them but none worked for me. 🙁
Where is the mistake? I am using XAMPP.
<?php
echo $_POST ['name'];
?>
<form method="POST">
<input type="hidden" name="name" value="Jack">
<button type="submit">Submit</button>
</form>
4:06 hahahaha
i really enjoy your videos ..but can you please make a tutorial on ajax and php??
Best PHP tutorials I have ever seen! Please do advanced tutorials 🙂