I got everything to work, but I can get it to appear where I want it. I've been trying to get it to show in the "table_wrapper.html" template but it always appears at the very top of the page.
$today = date('d/m/Y');
$start_date="01/02/2013";
$end_date="05/03/2013";
$date_from_user="$today"...