Hi, I tried to use this solution, but the fields with null values still doesn't show? The resulting query when pasted on phpmyadmin also only resulted in the rows with the non-null values.
The query works fine on Navicat (shows both with null and non-null values). Is there some configuration to set? Regards On Tue, Oct 5, 2010 at 2:29 PM, lyba <[email protected]> wrote: > confirmed alternative: > 'OR'=> array(array('title'=>$TitleArray), array('title'=>null)) > produces valid SQL: > (title= (1)) OR (`title` IS NULL) > > a bit inconvenient to use so I'll stick with the first alternative for > now > thank you > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
