title: Cakephp 2.x - How to retrieve data from database to controller
body: <p>HEELP! I have a table called "User" and the fields are id, name and mobile. I want to retrieve the mobile field so that the user can dynamically change the $number variable. I've been working in this for 2 days and I can't find the way to make it happen</p>
  
  <p>This part is in the Reservation controller:</p>
  
  <pre><code>$options = array('conditions' =&gt; array('User.id' =&gt; 1), 'fields' =&gt; array('User.mobile'));
  $number = $this-&gt;User-&gt;find('first', $options);
  
  $this-&gt;PanaceaSms-&gt;username = "username";
  $this-&gt;PanaceaSms-&gt;password = "password"; 
  $this-&gt;PanaceaSms-&gt;send($number, "Hello there valued customers");
  </code></pre>
  
  <p>Forgive me for newbie question. If you have any questions feel free to ask. :)</p>