Learn PHP: GET and POST

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

Official site

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

Simple and straight forward. Pablo approves.

PabloEscobar-njhy
Автор

you can also use “Your name is” . $name . “and your age is” . $age
Instead of “Your name is {$name} and your age is {$age}”

thischannelhasbeenprivated
Автор

just an observation, by declaring "name="name"', even though we dont type anything in the text field, php isset() function, considers that it is actually set. Meaning a empty string would be considered as set.
However empty() works as expected when you type nothing in the fields.

pepeback
Автор

Thanks for your videos, are very important to me... I train my English and learning PHP.

wesleylopes
Автор

I have never seen a video about web while including security at the same. Bro you are amazing 🙂

lekenn
Автор

Thanks man. I'm going to applying to this my apps. Greatest teacher ever.

JasonCtutorials
Автор

Wow, that was very usefull ! Thank you so much !

leopng
Автор

<form action="" method="post">
<input type="text" name="name">
<input type="submit">
</form>

redpilledpatriot
Автор

Why does post allow you to send more data?

get is for getting info from the database and post is for adding data to it?

TheBillaro
Автор

Another fantastic video. Great job. I have a question. I've not seen someone use curly beaces around variables in the echo statement. What is the reason for doing that?

graham
Автор

<form action="" method="">
<input type="text" name="name">
<input type="submit">
</form>

redpilledpatriot
Автор

This is insanely well done i appreciate the time and effort you've put in this video and the excellent explanation of post and get.

bramdepittige
Автор

Not a Hindi accent, a butter-smooth English accent. Plus Good content. Wonderful.

Venezuelangel
Автор

Why did you use the htmlentities function rather than htmlspecialchars ?

DavidBrown-vgnj
Автор

When using the user input, I always get "undefined array key" even though the name is correct.
Why?

ruleoflawedutainment
Автор

Good video. Very explanative. Can you make a video regarding post comments in the same place where the post form is?

ClassicCartoonsNL
Автор

What web server do you use? What installation did you do to activate php?

ugiampaolo
Автор

i need this guy for my website musicworldtakeover 

circulartext
Автор

I love how all the basic PHP videos were posted on my birthday. xD

MayoraXSougo
Автор

Thanks for the tutorial!

I was surprised to find that isset still returns if empty as it's still set as an empty string. Would it be better to use the following?

if(!empty($_POST['name']) && !empty($_POST['age'])) { do something }

Would there be any reason to use isset at all if you have used !empty?

shaunmorrison