********************* ERROR *********************
DESCRIPTION: DB QUERY FAILURE: 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 'ORDER BY c.sort_order, c.name' at line 14 | SELECT c.category_id,
c.name AS category_name,
p.*
FROM manufacturer m
INNER JOIN product_to_manufacturer pm
ON m.manufacturer_id = pm.manufacturer_id
INNER JOIN product p
ON pm.product_id = p.product_id
INNER JOIN product_to_category pc
ON p.product_id = pc.product_id
INNER JOIN category c
ON pc.category_id = c.category_id
WHERE pm.manufacturer_id =
ORDER BY c.sort_order, c.name
LOCATION: line: 27 - D:\inetpub\vhosts\silcheminc.com\httpdocs\class\db.php
LEVEL: 256
********************* ERROR *********************
DESCRIPTION: Invalid argument supplied for foreach()
LOCATION: line: 48 - D:\inetpub\vhosts\silcheminc.com\httpdocs\page\manufacturer.php
LEVEL: 2