Php Array Check If Value Exists Sql Statement For Todays Date