Welcome Guest, Not a member yet? Register   Sign In
->result() not showing all rows/data

(This post was last modified: 07-09-2019, 11:42 PM by neuron.)

[quote pid='365920' dateline='1562724737']
PHP Code:
                            foreach ($query as $value) {
$querys $this->db->get('category_lists');
return $querys->result();


I did not read all your question BUT why there is return statement in your foreach loop?

Also you should learn SQL, this is not the right of doing such a query. Learn about JOIN clause in SQL, this is basics and power of RDBMS.
It will take some time to learn, but it is what everybody has to do.

Messages In This Thread
->result() not showing all rows/data - by acebay - 07-09-2019, 07:12 PM
RE: ->result() not showing all rows/data - by neuron - 07-09-2019, 11:34 PM

Theme © iAndrew 2016 - Forum software by © MyBB