Generating Query Results — CodeIgniter 4.2.1 …
getResult () ¶. This method returns the query result as an array of objects, or an empty array on failure. Typically you'll use this in a foreach loop, like this: The above method is an alias of getResultObject (). You can pass in the string 'array' if you …
Đọc thêm