Welcome Guest, Not a member yet? Register   Sign In
Why unknow column 'slug_safelink' ?
#2

Did you initialize the $allowedFields array in your Model?

PHP Code:
protected $allowedFields = ['nama_safelink''slug_safelink''url_safelink''hits_safelink']; 

Also, you don't really need the saveData, updateDate, and deleteData methods if you are using CodeIgniter 4's model.  CodeIgniter already has insert, update, delete, and save methods available to you: https://codeigniter.com/user_guide/models/model.html.
Reply


Messages In This Thread
Why unknow column 'slug_safelink' ? - by flux1on - 11-04-2020, 07:06 AM
RE: Why unknow column 'slug_safelink' ? - by mlurie - 11-04-2020, 10:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB