Top "Yii2" questions

Yii 2 is the latest version of the Yii framework - a high-performance, component-based PHP framework

How to join two tables and get values in Yii2 gridview

I'm using Yii2 gridview widget to display the data. I'm using two tables named as message and message_trigger. In …

gridview yii2 yii2-model
Yii2 Multiple instances of the same model

I want to get multiplie instance of the same model in my controller. I saw this wiki for Yii 1.1 and …

php yii yii-extensions yii-components yii2
Yii2 params access within local config file in common directory

I'm using Yii2 advanced template, I want to access params.php in main-local.php file, I called this ways: main-local.…

yii2 yii2-advanced-app
Yii2 multiple models in one form

How to use multiple models in one form in Yii2? My case: In my create action I can save into …

php yii2 yii2-model
How to add a new column with Yii 2 migrations on a specific position in a table?

Let's say I have this table structure: +----+------------+-----------+---------+------+---------+---------+---------------------+---------------------+ | id | first_name | last_…

php mysql yii2 database-migration
Validate form by ajax in yii2

I have a form which is opening in popup so I want to validate my form by ajax validation but …

php yii2 yii2-validation
How to integrate payment gateway in yii2 using PayPal extension for the Yii2

How to use paypal extension in yii2. I am using this link https://github.com/marciocamello/yii2-paypal. I installed …

php paypal yii2 yii-extensions
yii2:drop-down list for multiple values concat in one line

for my drop-down list I am using this code. <?= $form->field($medicinerequest, '[' . $id . ']' . 'medicine_…

php yii2
Yii2 How to call controller action from the view

I have a function in the controller that manipulates data the way I wanted. Now I want to call that …

model-view-controller yii2 yii2-advanced-app
Yii2 - How to list the files inside a folder

Hi, i'm making an Yii2 Basic application and have a file upload form in the admin area. The file upload …

php list file yii yii2