title: View in laravel error undefined variable
body: <p>I am a newbie in laravel and php. I cannot show the results of query in laravel. I wrote this in my program.</p>
  
  <p>routes.php</p>
  
  <pre><code>Route::get('books/see', function()
  {
      return View::make('books.absen');
  
  });
  
  Route::post('books/absen','BookController@absen');
  </code></pre>
  
  <p>BookController.php</p>
  
  <pre><code>public function absen()
  {
      $ruang = Input::get('ruangn');
      $results = DB::select( DB::raw("SELECT id, name, isbn, ta, tb FROM book WHERE ta = '$ruang'"));
  
      return Redirect::to('books/see');
  }
  </code></pre>
  
  <p>absen.blade.php</p>
  
  <pre><code>&lt;select name="ruangn" class="form-control" method="post" action="{{URL::to('books/absen')}}"&gt;
                      &lt;?php 
                      for( $i=1; $i&lt;19; $i++ )
                      {
                          ?&gt;
                          &lt;option&gt;
                          &lt;?php echo $i;
                      }
                      ?&gt;
                      &lt;/option&gt;
                  &lt;/select&gt;
  &lt;input type="submit" name="submit" value="Oke" class="btn btn-info"&gt;
  
  &lt;table class="table table-bordered table-striped"&gt;
      &lt;thead&gt;
          &lt;th&gt;No&lt;/th&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;ISBN&lt;/th&gt;
          &lt;th&gt;TA&lt;/th&gt;
          &lt;th&gt;TB&lt;/th&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
      @foreach ($results as $value)
          &lt;tr&gt;
              &lt;td&gt;{{$value-&gt;id}}&lt;/td&gt;
              &lt;td&gt;{{$value-&gt;name}}&lt;/td&gt;
              &lt;td&gt;{{$value-&gt;isbn}}&lt;/td&gt;
              &lt;td&gt;{{$value-&gt;ta}}&lt;/td&gt;
              &lt;td&gt;{{$value-&gt;tb}}&lt;/td&gt;
          &lt;/tr&gt;
      @endforeach
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And error is Undefined variable: results (View: ...\absen.blade.php) I very tired with this. Help please</p>