Model Returns Null on FindAll |
Hi, sorry I could not find a solution, but it looks like you did everything correctly.
If you don't extend the Model you should load the database like this: https://codeigniter.com/user_guide/model...l-creation Also you are a subject to SQL injection, that can access all your data (or delete it) with that SQL query. You should use query bindings: https://codeigniter.com/user_guide/datab...y-bindings |
Welcome Guest, Not a member yet? Register Sign In |