Wednesday, September 17, 2008

don't see row after executing query

Good day/night to everyone!

When I execute this query:

SELECT * from articles where (published='yes' AND category='news')
ORDER BY id desc;

not all rows that are published and belong to 'news' category are
shown as a result. What can be wrong??

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: