How to Use $_POST and $_GET in PHP

preview_player
Показать описание

In this video, you'll learn how to access the data in both $_POST and $_GET.

-~-~~-~~~-~~-~-
Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree"
-~-~~-~~~-~~-~-
#php #webdev
Рекомендации по теме
Комментарии
Автор

$_GET is to get the information of user by using query string that mark in URL while $_POST is use to not mark in URL normally use for private information of the user to not show..

reynandelizo
Автор

Add to query string parameters, and exact scenario you'd want to use GET is pagination of database results and sortig them. You store your starting point in the GET. I haven't actually thought of another way to do these TBH.
Clear and concise tutorial.

ben.reddington
Автор

Wow, great video! Simple and to the point.

WilliamFiset-videos
Автор

Great vid! thank you for clarifying. Needed to know this for my info systems programming class!

AlienHazard
Автор

Excellent video! You explained everything beautifully.

sethconnell
Автор

A membership site that teaches how to create a membership site. => Inception :P. (thanks for the tut, needed to clear the differences.)

rdvan
Автор

thanks you so much sir !
it helped me

waisullahyousofi
Автор

So $_GET and $_POST are super global variables for arrays and you can store information for use on the same script or on a separate file... $_GET displays the values on the url and $_POST hides it.... Correct me if i''m wrong .. Also I ask how long does the data stay stored on the arrays... is it just while they input them into the form and submit the script and it runs or will it always be there

objectivetruth
Автор

please help me am abeginner at PHP and i want to know how to add it to my site in a way that it shows up ?username= and fills up the username ffield.

ThatsDeXes
Автор

so u mean i can get the the address parameter on other php file and query it on the database so that i can display it on another php files?

roncemine
Автор

Gud Day sr.! can you help me, just like your video.. by getting the user's username and password i can display his data to another page... .. I LIKE your Vid the best explanation.. :D thank you!

esmeraldaazucena