A QUERY FAILED: SELECT * FROM `pr_tournament_details` WHERE `tournamentid`= AND (CURDATE() BETWEEN `startdate` AND `enddate`);
DETAILS: 1064 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 'AND (CURDATE() BETWEEN `startdate` AND `enddate`)' at line 1