Answer the question
In order to leave comments, you need to log in
By changing the name of the plate in the php file models to the same in the database, the posts are no longer displayed?
Good afternoon everyone!
There is a working donor site on Yii2, the News module was created, php files for adding and editing news from the aminka, and displaying them on the site
In the model file, in this block
public static function tableName()
{
return 'brk_statji'; //news
}
Yii2 - продолжает делать MySQL - запрос все равно в таблицу news
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question