Notice: Undefined index: data in /home/pulsai/public_html/blocks/prods/prods.php on line 29

Критическая ошибка!
[1064] Неправильный запрос к БД.
Проверьте правильность запроса!
SELECT id, url, name_ua as name, body_ua as body FROM categories WHERE parent_id=
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 '' at line 3