Thanks for the response. Since my original post I have refactored that area of the code so it no longer uses BETWEEN, and hence the code no longer exists.
Wouldn't have thought to put backticks around the field names, as it doesn't make any difference to mySQL. However, now that I know it may present an issue with cake, especially around dots, will keep an eye out for this in the future. Thanks very much for your help AD7six. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
