You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forumYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403495если так оставить $sql = substr_replace($sql, ' ', -5); ошибку не выдает но в базе не ищетYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 10:28:35 +0300mark1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403490"выдает ошибку "Ошибка извлечения данных You have an error in your SQL syntax; check the manual that corresponds to your...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 02:25:22 +0300РомаYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403488лишний,но он вот так убирается $sql = substr_replace($sql, ' ', -4);You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 02:14:50 +0300mark1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403484вот этот AND здесь не лишний? if ($mat_id !== "") $where_mat_id = " mat_id = '$mat_id' AND ";You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 01:35:42 +0300РомаYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403480выдает ошибку Ошибка извлечения данных You have an error in your SQL syntax; check the manual that corresponds to your...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 00:38:07 +0300mark1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403479И какой ответ вы получаете? Заодно покажите, какой запрос у вас получается в результате (переменную $sql перед запрсов на экран...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 00:28:54 +0300neadekvatYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=68887#post403475поиск по селектам "?php if (isset($_POST)) $cat_id = $_POST; if (isset($_POST)) $city_id = $_POST; if (isset($_POST)) $kom_id = $_POST;...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nearMon, 19 Oct 2009 00:16:23 +0300mark1