The $_POST superglobal in PHP is an associative array.

  • TRUE
  • FALSE
The statement is true. In PHP, the $_POST superglobal is indeed an associative array. It contains key-value pairs where the keys represent the name attributes of form inputs, and the values contain the corresponding data submitted via an HTML form using the POST method. You can access the form data by using the key as an index, for example, $_POST['fieldname']. Learn more: https://www.php.net/manual/en/reserved.variables.post.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *