I am working on a method to activate new members. I get the following error: Undefined offset: 1 The error occurs on the line which contains the following:
I have a model A that has a relationship of type HAS_MANY with model B. B\'s attributes are: id, user_id,
Does anyone know of a way in which I can add an extra database connection field to the yii configuration file after I\'ve successfully logged in a user to my site?
YII newbie here. I\'m having issues with one-to-many relation. We have following tables: 开发者_JS百科## users
I have a drop down list <?php echo CHtml::dropDownList(\'adj\', $adj, $adjudicators, array(\'id\'=>\'adjudicator\')); ?>
Building my first web app using Yii and wondering if it is best to include the user registration process as part of my UserController or is it better to create a registrationController and keep the lo
I am appreciated if someone shows a complete example on how to use findByAttributes in Yii framework.
I\'m trying to use an activeCheckboxlist in a form in my Yii 开发者_开发知识库site. When generating the checkboxlist, Yii automatically puts a < br > between the checkboxes.
I was creating a form. Certian fields of the form uses checkbox and may return multiple choices and I have to store all of those IDs to a single field separated by a comma or semicolon.
I\'m working on a RESTful application for a project that is using SproutCore on the front end. My question is really just what is the most effective way to grab data from a model with other related mo