i do get this error when i use teh printable catalog

how to solve this?

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/janzeros/public_html/catalog/templates/OneTable/content/catalog_products_with_images.tpl.php on line 300


this line 300 : $discount = mysql_result(mysql_query("select customer_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"), 0 , 0);

Note i make some adjustments in the admin voor the printable catalog: probably somewhere wrong?

see also the site http://www.janzerospec.com/catalog/c...a011af4c04c12c
doumawis