you should firstly debug your variables properly using debug() you would find out that the result returned by findBySomething is a deep array (not a flat one)
from there I am certain you will figure it out Am Freitag, 31. August 2012 11:44:26 UTC+2 schrieb marco metal: > > Hi, > > It means that either the word you are searching is in first position, > that's why its echoing 0 or (in_array($var_get, $word ) is empty ,meaning > $var_get is not inside the array $word. > > > > > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
