What is the best way to get the $ _POST counter
I have a form in which the user can create an input field, so I do not want to allow empty submission.
I tried count($_POST), it is always empty. It's in
if(!isset($_POST['submit'])) {
}
else {
die(count($_POST));
}
What is the best way to get a $ _POST account?
source
share