PHP how to count the arrays values?
<p>I'm trying to count all the values in the array and check if one value was entered and if so display a certain message for it and if there was more then one value entered display a different message for it.</p>

<p>How will I be able to this and where should I add it to my code?</p>

<p>Here is the code below.</p>

<pre><code>if ($array == 1){
 echo $array . " has been entered";
} else {
 echo implode(", ", $array) . " have been entered";
}
</code></pre>
