Welcome Guest, Not a member yet? Register   Sign In

$query = $this->db->query('SELECT Object_Value FROM heal_sub_content', 'WHERE Object_ID = contact');
        return $query->result_array();

WHERE statement doesn't appear to be working? Is there an alternative method?

If you're using the query method, the SQL should all be a single string, with the optional second paramters an array used for query binding

Ah excellent. Thank you very much.

Theme © iAndrew 2016 - Forum software by © MyBB