Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /var/www/html/site-app/models/restaurant_model.php:105 Stack trace: #0 /var/www/html/site-app/controllers/search.php(44): Restaurant_Model->get_search_result(Array, 10, 0) #1 /var/www/html/system/core/CodeIgniter.php(360): Search->index() #2 /var/www/html/index.php(203): require_once('/var/www/html/s...') #3 {main} thrown in /var/www/html/site-app/models/restaurant_model.php on line 105