title: Variables not being passed to Function
body: <p>I'm just getting back into PHP programming again and I can't seem to figure this one out.</p>
  
  <p>I'm just trying to write a simple login screen, but I can't seem to pass variables to my "Login" function.</p>
  
  <p>So this is the code I have that is called on the post page...</p>
  
  <pre><code>$Email = $_POST["Email_Address"];
      $Password = $_POST["Password"];
  
      // check to see if the login is valid
      $ValidLogin = ValidateLogin($Email, $Password, $ErrorMessage);
  </code></pre>
  
  <p>I previously declare ValidateLogin in a separate include file which is called before this code.</p>
  
  <pre><code>function ValidateLogin($EmailAddress, $Password, &amp;$ErrorMessage){
  
      $ErrorMessage = ""; 
  
  
  } 
  </code></pre>
  
  <p>When I look at the variables within the ValidateLogin function, they are blank?  I had this code working on another project, but don't understand why it's not working here.</p>
  
  <p>Any help would be appreciated.</p>