Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
коннект в базе проверяли?htmlspecialchars() пробелму не решило...
вот это:$this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape(str_replace(" ","_",strtolower($data['keyword']))) . "'");
echo "INSERT INTO " . DB_PREFIX . "url_alias SET query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape(str_replace(" ","_",strtolower($data['keyword']))) . "'";
коннект в базе проверяли?
mysql_set_charset('UTF-8') попробуйте сделать.
mysql_query("SET NAMES 'utf8'", $this->connection);
mysql_query("SET CHARACTER SET utf8", $this->connection);
mysql_query("SET CHARACTER_SET_CONNECTION=utf8", $this->connection);
mysql_query("SET SQL_MODE = ''", $this->connection);
if ($data['keyword']) {
#var_dump($data['keyword']);exit();
$this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape(str_replace(" ","_",mb_convert_case ($data['keyword'] ,MB_CASE_LOWER,'UTF-8'))) . "'");
}