i am having a table named Reports with id repo开发者_开发知识库rt_id user_id 115 215 315 425 525
I have a variable contaning \"username\" and want to get these values via session to any of the view pages.
I am sort of a newbie with CakePHP. I have two tables: contacts and tags, and an HABTM table contacts_tags. User should be able to add tags as people can do in delicious.com. they get a list of tags a
(Database structure like CakePHP select default value in SELECT input) So, I have two tables in CakePHP: Trees, and Leafs.Every Leaf has a tree_id for its corresponding tree.Every leaf also has a num
Is it possible for CakePHP\'s Containable behavior to request an aggregate column value during a find()? For example, in model Item containing numeric columns quarks and cogs:
I am trying to manipulate the $this->data attribute while performing an advanced validation method. The data seems to be changing, but when it comes to saving, the changes do开发者_StackOverflown\'t a
I really like the named URLs in the Django Framework, and was wondering which of the PHP Frameworks supported such a thing. (I believe Zend Framework does, but please exclude that from your answers, w
Is there a shortcut for creating Unary associations in Cake? For example, a user is a friend of another user. I\'m pretty sure it\'s going to violate cake\'s conventions if I try it the hard way and
I\'m using Translate behavior. Here\'s the scenario: I save a translation on model \'Content\' with the
I\'m trying to compare two strings. When I echo them, they appear to be identical, yet when I compare them with the \'==\' operator, it returns false. For example, when running the code below on my da