Say, i made some sort of blog. I have Post model and Comment model. Post has-many Comment. post view only show comment related to that certain post, thus, only show comments which id equals to the current post id.
I am trying to make that kind of conditions, but that doesn't work. It gave me error: "Parse error: syntax error, unexpected '"' in C:\xampp \htdocs\cake\app\models\event.php on line 19" Looks like cake doesn't like variable in an associative array? This is the snippet of the code. The conditions is on line 5: http://pastebin.com/m6f8bba01 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
