Hi all, I'm running into a problem with PHP and mysql. I run a mySQL query, which returns the following object:
mysqli_result Object ( [current_field] => 0 [field_count] => 2 [lengths] => Array ( [0] => 1 [1] => 186 ) [num_rows] => 1 [type] => 0 )
I then try to fetch the data with $object->fetch_array(MYSQLI_ASSOC)
but get this error: Call to a member function fetch_array() on boolean
I am very confused because I am calling the function on an object, not a bool... any ideas?