title: Undefined property: Illuminate\Database\MySqlConnection::$quizUser
body: <p>I run the laravel code for fetching the data from database but i got the error.</p>
  
  <p>This is controller's code name is UserProfileController.blade.php</p>
  
  <pre><code> public function FetchUserQus()
     {
       $data = DB::table('userquestion')-&gt;where('userEmail', '=', '{{ 
       Auth::user()-&gt;email }}');
       return view('designpages/userqus', ['data' =&gt; $data]);
     }  
       Route::get('designpages/userqus', 
      'UserProfileController@FetchUserQus')-&gt;name('designpages/userqus');
  </code></pre>
  
  <p>This is view page code saved with name designpages/userqus.blade.php</p>
  
  <pre><code>@foreach($data as $datas)
  
  &lt;p&gt;&lt;b&gt;Question:&amp;nbsp;&amp;nbsp;&amp;nbsp;{!! $datas-&gt;quizUser !!}&lt;/b&gt;&lt;/p&gt;
  
  &lt;p&gt;&lt;b&gt;Answer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;{!! $datas-&gt;ansAdmin !!}&lt;/p&gt;
  </code></pre>
  
  <p>@endforeach</p>