Missing Model |
hi, i just try to make attandance app for my school library but my app cant find my model when i call it in controler.
here is my controler Code: <?php and this is my model Code: <?php
Rewrite namespace to App\*
if you had in controller :
Code: use App\Controllers\BaseController; and in models Code: namespace App\Models; what would happen ?
(10-10-2024, 03:52 AM)captain-sensible Wrote: if you had in controller :thank you so much, i don't know what happen but it just work like magic. i think the basecontroller need to be called but before i post this and try this, it doesn't work
Your model class name first character should be in upper case Absen
and saved with first letter upper case. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |