PHP Programming quiz, level Basics, question 9
| Question: | To access a form variable from the following PHP page, you should |
| Answer 1: | Use a $ in front of the name of the field on the form This was the CORRECT answer |
| Answer 2: | Access it via $env("xxxxx") where xxx is the name of the field |
| Answer 3: | use [gets stdin] to read the form data, and split it with [split] |
| Answer 4: | call the getpost() function, and look up the value in the returned array |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|