title: how to fetch data in october cms laravel
body: <p>I am new in October cms.
  how to fetch data from <strong>Code section</strong> to <strong>Markup section.</strong>
  I want to print email value in markup section </p>
  
  <p>page name is : questionnaire</p>
  
  <p>Markup section</p>
  
  <pre><code>&lt;div class="row"&gt;
  &lt;div class="col-md-4"&gt;
  
      &lt;p&gt;{{ email }}&lt;/p&gt; 
      &lt;div class="module-contact well"&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="col-md-8"&gt;
      &lt;div id="partialContactForm"&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>Code section is below</p>
  
  <pre><code> function onStart(){
  
       $data['users'] = DB::table('users')-&gt;get();
       $email = $data['users'][0]-&gt;email;
  }
  </code></pre>