title: Laravel is echoing the number of the array instead of the value
body: <p>I don't know how to explain it but laravel won't let me print the value, but instead just echo's the key?</p>
  
  <p>This is my code, I've tried everything I could, I don't know what's wrong..</p>
  
  <pre><code> &lt;span&gt;{!! $subject[$i] !!}&lt;/span&gt;
  </code></pre>
  
  <p>It is in a for loop that works on other variables so that's not the problem, this is my controller function</p>
  
  <pre><code>  public function assignments()
      {
          $title = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_title');
          $context = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_context');
          $subject = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_subject');
          $day = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_due_day');
          $colour = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_colour');
          $id = DB::table('assignments')-&gt;where('assignments_completed', '0')-&gt;lists('assignments_id');
          $subjectName = DB::table('class')-&gt;where('class_active', '1')-&gt;lists('className');
  
          return View::make('pages.assignments', array(
              'id' =&gt; $id,
              'title' =&gt; $title,
              'context' =&gt; $context,
              'subject' =&gt; $subject,
              'day' =&gt; $day,
              'colour' =&gt; $colour,
              'pageTitle' =&gt; 'Assignments',
              'sub' =&gt; $subjectName
          ));
      }
  </code></pre>
  
  <p>Could someone please help me?</p>