I have got code from a website as:
<input type="text" class="username" name="f[username]" />
While when I want to get form value in php as
echo $_POST["f[username]"];
It shows nothing
While when I want to get form value in php as
echo $_POST["f[username]"];
Well that's not how you get it.
echo $_POST["f"]["username"];
print_r($_POST);and you will come to know how to get valueecho $_POST["f['username']"];