mi getting this error, can you help me on what to do?

thanks

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mptt.php on line 7
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 'BETWEEN 2 AND 11' at line 1