then check which day is it today
N = 1 (for Monday) through 7 (for Sunday)
$thurs = "Thursday";
iToday = date(N);
if( in_array( iToday , array(5,6,7) ) $thurs = "last Thursday";
$query_tablebookings_thurs = "SELECT id FROM reservations WHERE booking_date = '".date("Y-m-d", strtotime("thurs"))."'";
:)