php $_POST count issue
<p>what would be the best approach to get count of $_POST</p>

<p>i have a form where a user can create a input box, so i don't want to allow empty submission.</p>

<p>i tried <code>count($_POST)</code>, it always empty. This in </p>

<pre><code>if(!isset($_POST['submit'])) {
//codes
}
else {
die(count($_POST)); // return as empty
}
</code></pre>

<p>What would be the best way to get count of $_POST?</p>
