Old version of PHP framework Yii.
I want to force all users to log in before accessing pages of my site. I have followed Larry Ullman's …
php yii yii1.xI have a table like this: (id, name, version, text). (name, version) is unique key, how can i make a …
yii yii1.x yii-validationThe controller: controllers |-FooController.php |-BarController.php The views: view |-foo| | |-index.php | |-error.php | |-bar| |-index.php How to …
yii yii1.xI am trying to build a multi-page form with Yii, but am quite new to PHP and Yii and am …
php yii yii1.xI have below code: $inputs = "1,2,3,4,5"; $sql = "SELECT * FROM obj WHERE id IN(:input)"; $commond = Yii::app()->db->…
php yii yii1.xHow to get base URL in a Yii CConsoleApplication application? I tried Yii::app()->request->getBaseUrl(true) …
php yii console-application yii1.xI have list of files. In array data provider i have fields: approved, filename, uploaded etc. I want to add …
gridview yii yii1.xI have table types and i want to build selectbox with all values from this table In my controller i …
php yii yii1.x