select id from infolist where block= and (dt< or (id< and dt<=)) order by dt desc, id desc limit 1
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 (dt< or (id< and dt<=)) order by dt desc, id desc limit 1' at line 1

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/instmmp/www/instmmp.by/lib/utils/DB.php on line 43
select id from infolist where block= and (dt> or (id> and dt>=)) order by dt asc, id asc limit 1
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 (dt> or (id> and dt>=)) order by dt asc, id asc limit 1' at line 1

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/instmmp/www/instmmp.by/lib/utils/DB.php on line 43
- Институт мясо-молочной промышленности На главную Контактная информация
Институт мясо-молочной промышленности БелНИКТИММП