title: How to pass simple data from controller to view in cakePHP
body: <p>I get an int value to the controller and I would like to send it to the according view, but i am either passing or accesing it wrong. Here is what I am trying to do:</p>
  
  <p>Controller:</p>
  
  <pre><code>function send($int = NULL) {
      $this-&gt;set('integer', $int);
  
  }
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>echo $integer['int']
  </code></pre>
  
  <p>Your help is much appreciated!</p>