title: Why won't my function call after including the file where located in PHP?
body: <p>I am trying to call a function from another file that takes 2 parameters. However, no matter what i try it won't seem to work. I am not sure what I am doing wrong...</p>
  
  <pre><code> include '/php/withdrawlCalls/libs/paypal.php';
      $newbal=$row['balance'] - $amnt;
      $response = 0;
      $email = $_SESSION['email'];
      $response = sendPayment($amnt,$email);
      echo $response;
  </code></pre>
  
  <p>I am positive the location of the file is correct, because I have gotten responses through ajax calls, and there is no error when i run the php file above. when trying to echo response, it just is blank</p>