Need to fetch all rows from 3 tables where current status =1
$query = $this->db->query("CALL GetALLDetails('1')");
$result = $query->result_array();
print_r($result);
Stored Procedure:-
BEGIN
select * from table1 where current_status = status;
select * from table2 where current_status = status;
select * from table3 where current_status = status;
END
Am getting result of first query statement only.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…