I have an idea but would rather see the code first.
On Fri, Jun 14, 2013 at 2:45 PM, first last <vanwaf@gmail.com> wrote:
No experience with PHP so sorry for my ignorance.A find() in a CakePHP 1.3 program is making a query with a MySQL syntax error 1064.The part of the query causing the error looks like LEFT JOIN `table1` AS `t1` ON (`table2`.`` col1=`t1`.`id`). Col1 is outside of the backquotes.It's a very long query with other similar left joins that show no error.What can cause this and how can it be fixed ?--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment