select only false - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: select only false (/showthread.php?tid=79618) |
select only false - lucavalentino - 07-08-2021 I am trying to recover data from Mysql but I always get false. Model PHP Code: namespace App\Models; RE: select only false - InsiteFX - 07-09-2021 You do not need this the model already has it intialized. PHP Code: // ] that will cause an error RE: select only false - lucavalentino - 07-10-2021 I solved Modeld PHP Code: namespace App\Models; Quote: RE: select only false - includebeer - 07-11-2021 I have examples on how to use models and entities in part 2 and part 5 of this series of tutorials. In these examples the code is in a library, but you can adapt the code to the functions in your model. RE: select only false - InsiteFX - 07-12-2021 I also recommend new users to read @includebeer tutorials well worth the read. RE: select only false - includebeer - 07-12-2021 (07-12-2021, 01:38 AM)InsiteFX Wrote: I also recommend new users to read @includebeer tutorials well worth the read.Thanks @InsiteFX RE: select only false - lucavalentino - 07-19-2021 I tried to use entities, but it doesn't work Model PHP Code: namespace App\Models; Entities PHP Code: namespace App\Entities; RE: select only false - InsiteFX - 07-19-2021 Your class is wrong. PHP Code: // wrong Your class is wrong. PHP Code: // wrong RE: select only false - paulbalandan - 07-19-2021 @InsiteFX CodeIgniter\Entity\Entity is correct. It is the new FQCN of the Entity class. The former is deprecated already. |