this code give me error 500 |
please, guys, this code give me error 500 but when i remove this -> result_array() its worked but I don't know when problem
function getCodeForCity($destination { $result = $this->db->query("SELECT code FROM hotels WHERE MATCH (city_slug) AGAINST ('$destination' IN BOOLEAN MODE)")->result_array(); return $result; }
please, folks, this code give me blunder 500 however when I eliminate this - > result_array() its worked yet I don't have any idea when issue
work getCodeForCity($destination
Thanks.
aem development company in India
Check the value of `$this->db->query("SELECT code FROM hotels WHERE MATCH (city_slug) AGAINST ('$destination' IN BOOLEAN MODE)")`.
|
Welcome Guest, Not a member yet? Register Sign In |