Working with Database in CI4 (for New Members) |
Connect to Database
Code: - in Model Process Query Code: - with Query Check Result with $db->query and $bulder->getWhere Code: if (count($query->getResult()) > 0) { ... and read more in User Guide... and any comment for add... Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams |
Welcome Guest, Not a member yet? Register Sign In |