Welcome Guest, Not a member yet? Register   Sign In
codeigniter 3.1.7 result query array has an issue
#1

Hello every one

i have been having an issue with the database query returning a boolean instead of result_array() or result_object! it is very frustrating to have to go twist code around at each stap, can anyone give a good suggestion to solving this problem?

below is the normal query that was supposed to return a result.

$query = $this->db->query('MY_QUERY');

return $query->result_array();


To be more precise the core code is generating a fatal_error : this is the error i am getting using form validation core library to validate the in put!

Fatal error: Call to a member function num_rows() on boolean in C:\xampp\htdocs\MY_PROJECT\system\libraries\Form_validation.php on line 1122
Reply


Messages In This Thread
codeigniter 3.1.7 result query array has an issue - by 55953.kt - 02-25-2018, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB