title: Laravel 4: how show query results in footer
body: <p>I created a template for the footer and included it in a main template. 
  What is the correct procedure to display the results of a query in the footer so that it is visible on all pages? 
  thanks</p>