Welcome Guest, Not a member yet? Register   Sign In
Connect to DB in external Library (CI 4)
#5

(12-01-2020, 09:22 AM)craig Wrote:
Quote:Please, give me an example for make a query inside a own library

This is explained in the documentation that I linked to in my previous post - https://codeigniter.com/user_guide/datab...ar-queries

Code:
$query = $db->query('YOUR QUERY HERE');

Thanks; the documentations (tutorial, examples etc) it's very little for CI4... compared with CI2 and CI3
Reply


Messages In This Thread
RE: Connect to DB in external Library (CI 4) - by henry_miaomiao - 12-01-2020, 01:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB