I have this query that returns an associative array. What I have realize is that when I try to have an if statement that checks if one date equals another I only get the condition to run against the first value only which is I have this query that returns an associative a