A

Admin • 828.03K Points
Coach

Q. How do you retrieve the value of a POST variable named 'username'?

  • (A) $_GET['username']
  • (B) $_POST['username']
  • (C) get('username')
  • (D) post('username')
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
$_POST superglobal holds data sent via HTTP POST method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.