![]() |
HI,
I am having a problem creating a model and using it in my controller. I am receiving the following error when trying to do so. Quote:APP\Models\loginModel::__construct(): Argument #1 must be of type Codeigniter\Database\ConnectionInterface, Here is the code that I am using for my model and controller. Code: <?php Code: <?php Can you guys help me to fix the issue that I am facing? |
Messages In This Thread |
Unable to connect to database. - by shahzaibahmed52 - 10-08-2023, 01:09 PM
RE: Unable to connect to database. - by kenjis - 10-08-2023, 04:29 PM
RE: Unable to connect to database. - by sheilaf - 10-08-2023, 08:55 PM
|