
Execute multiple queues using yii2-query
Methods to use yii2-query to execute multiple queues: 1. [php yii queue1/listen;// or queue1/run]; 2. [php yii queue2/listen;// or queue2/run].
Feb 19, 2020 pm 03:12 PM
How to obtain user get and post parameters in yii2
The method for yii2 to obtain user get and post parameters: 1. [Yii::$app->request->queryParams]; 2. [Yii::$app->request->bodyParams].
Feb 19, 2020 pm 02:57 PM
How to add database connection in yii
The method to add a database connection in yii is: [$db=new yii\db\Connection(['dsn'=>'mysql:host=localhost;dbname=ex','uname'=>'root','password'= >' ',...].
Feb 19, 2020 pm 02:49 PM
How to use debug in yii framework
Yii framework debugging function: 1. Edit the frontend/config/main-local.php configuration file, set the IP field allowed to be accessed, and the size of the stored debug file; 2. Enter debug mode to view SQL, CPU occupancy, execution time, etc. .
Feb 19, 2020 pm 02:36 PM
How to modify database data in yii framework
The method of modifying database data in Yii framework: [$count = Model::model()->updateByPk($id,$attributes,$condition,$params);].
Feb 19, 2020 pm 02:25 PM
How to query data through table connection in yii framework
The method of querying data through table connection in Yii framework: [join('join','stu','record.sid=stu.sid') select(*) where(['record.re_id'=>$re_id] asArray( ) one();].
Feb 19, 2020 am 11:44 AM
Yii2 implements custom error page
How to customize the error page in yii2: 1. Edit the config/main.php file; 2. Edit the views/site/error.php file, such as [$this->context->layout = false;].
Feb 19, 2020 am 11:28 AM
yii2 disable bootstrap library
How to disable the bootstrap library in yii2: 1. First open the frontend\asset\AppAsset.php file; 2. Then comment the ['yii\bootstrap\BootstrapAsset'] value in the variable $depends.
Feb 19, 2020 am 11:18 AM
How to introduce js files in yii2
The method for introducing js files in yii2 is: 1. Module reference, implemented through the AssetBundle resource package class; 2. Direct reference in the view file, such as [<?php $this->registerJsFile('js/test.js');? >].
Feb 19, 2020 am 10:58 AM
yii2 running process
The yii2 operation process: 1. The user initiates a request to the entry script web/index.php; 2. The entry script loads the application configuration and creates an application instance to process the request; 3. The application parses the request route through the request component.
Feb 19, 2020 am 10:47 AM
How to jump to the page in yii
The method for Yii to jump to the page is: [Yii::app()->user->setFlash('commentSubmitted ','Display information after the jump');$this->redirect('list.m');]
Feb 19, 2020 am 10:38 AM
yii hide error message
How to hide error prompts in yii: open the index.php file and configure [error_reporting (0); defined('YII_DEBUG') or define('YII_DEBUG',true);].
Feb 18, 2020 pm 04:45 PM
yii advanced version installation
Installation method of yii advanced version: 1. Enter [Yii Framework Chinese Community] and download the advanced application template; 2. Configure the server and add domain name redirection; 3. Finally configure the environment variables and run the init.bat file.
Feb 18, 2020 pm 04:30 PM
Verification code is not displayed in yii2.0
The solution to the problem that the verification code is not displayed in yii2.0 is: 1. First, ensure that the captcha method in the controller is accessible; 2. Then, ensure that the GD plug-in in PHP is enabled; 3. Finally, edit the CCaptchaAction.php file.
Feb 18, 2020 pm 04:12 PM
Hot tools Tags

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version
Chinese version, very easy to use
