title: Passing jQuery Value to PHP
body: <p>I am calculating the distance between two places using jQuery and I want to pass this value (pickup_distance) for use in PHP.</p>
  
  <p>I am wanting to send this value to tariff.fare.controller.php for use in the following function:</p>
  
  <pre><code>private static function getFare($int_terminate) {
  
      // Function
  
      if pickup_distance(&lt;-- jQuery Value) &gt; 5 {
  
          // Do Something
  
      }
  
  }
  </code></pre>
  
  <p>How could I go about doing this? I'm aware I can do this via AJAX but being quite new to programming I'm not quite sure how I can do this.</p>
  
  <p>Any help would be much appreciated!</p>