$save['title']=$rv['title'];
$save['url']='http://pan.baidu.com';
Ukcont::create($save);
The above is my method of creating new data, using the Ukcont table.
The picture below shows the error message:
I’m a little confused, why is it ukconts? The model I created is also ukcont, and the data table is also ukcont. Ask for advice.
Reference: http://laravelacademy.org/pos...
Laravel is a very elegant framework. How elegant is it? Be elegant enough that your table names, by default, are the plural form of your models. So if you don't name it according to this, then you must specify the table name in the model.