Примерно понял.
zartus 04.08.2008 14:34
/ 04.08.2008 14:40
Переменные data_event1 и 2 по началу не определены.
Вот из лога:
Mon Aug 4 14:37:08 2008] [3702] /wano.html: /var/www/html/wano.html(30:15): 'select count(*) from article where center='' AND date_event >= AND date_event <= ' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND date_event <=' at line 5 [sql.execute] [uri=/wano.html, method=GET, cl=0]
Тогда вопрос упрощается. Можно ли использовать операторы парсера в SQL запросах, так же как в HTML?