PHP parameter passing
<p>im new to php and having some trouble with parameter passing in functions. I can't get my function to execute properly. This is the function.</p>

<pre><code>     function validateUser($username){

          if(!empty($_POST)) 
          { 

              if(strlen($_POST['username']) &lt; 5) 
              { 

                 die("Please enter a valid username"); 

              } 
}
</code></pre>

<p>thanks</p>
