Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Working with $_GET and $_POST in PHP!
Instruction
Working with $_POST Values
The $_POST
superglobal sends data to a server in the message body and is not displayed in the URL with a query string like the $_GET
superglobal. The $_POST
variable data is saved in an array called $_POST
which allows you to use $_POST['name']
and $_POST['lang']
superglobal variables respectively. All you need to do is change $_GET
to $_POST
, like this:
<!DOCTYP...