Now I get this error from mysql_error
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '00:00:00 >= gs_group.arrdate AND 2004-03-04 00:00:00 <= gs_grou
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in gs_functions.php on line 1840
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '00:00:00 < gs_group.arrdate OR 2004-03-12 00:00:00 > gs_group.d
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in gs_functions.php on line 1850
Also...this is where I get $from_date and $to_date from.
$from_date = date("Y-m-d 00:00:00",mktime(0,0,0,$from_month,$from_day,$from_year));
$to_date = date("Y-m-d 00:00:00",mktime(0,0,0,$to_month,$to_day,$to_year));