title: Getting all tables inside a database using Laravel 4
body: <h2>What do I want to achieve?</h2>
  
  <p>Get all table names inside a database and echo them using <code>@foreach @endforeach</code>.
  My database name is demoproject and it has some tables inside it like users, list1, list2, list3 and I need to echo all the tables.</p>
  
  <p>When using var dump I get bool(true) or when echoing I get 1 with this code <code>DB::statement('show tables from demoproject');</code></p>
  
  <h2>Why do I want to do this?</h2>
  
  <p>I'm making an admin panel, where I can edit tables and their rows. That's why I need to use <code>@foreach</code> to link them to another page.</p>
  
  <p>I only need to know how I can echo all tables inside that database to continue with this project.</p>
  
  <p>I'm using Laravel 4.</p>