Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'perfumedb' (1) in /home/gkrastev/public_html/img.perfumedeals.com/includes/functions/database.php on line 42

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/gkrastev/public_html/img.perfumedeals.com/includes/functions/database.php on line 92
2005 - Unknown MySQL server host 'perfumedb' (1)

SELECT pi.supplier_id, s.code, pi.sku, pi.image, pi.image_local FROM product_import pi JOIN suppliers s ON pi.supplier_id = s.id WHERE pi.in_stock = 'Y' AND image_download_date IS NULL OR pi.image_local = 'noimage.jpg'