Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / conditions

conditions

CakePHP Model->find conditions

By Ryan on August 25, 2008

While working on the Central News site, I had to make some more complex queries to my database to pull only the news that should be shown today. Each news post has two date fields, start_showing and end_showing. This way we can allow a particular entry to be in the news for more than a [...]

Posted in PHP | Tagged CakePHP, conditions, find, model, mysql, PHP | 4 Responses

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: