PHP display problem?
<p>For some reason when an array has for example, four values it will display all four values four times I just want the values to be displayed one time. </p>

<p>How can I fix this problem? Note the first echo works perfectly.</p>

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

<pre><code>if (count($array) == 1){
 echo $array[$x] . " one value has been entered";
} else {
 echo implode(", ", $array) ." you entered more then one value;

}
</code></pre>
