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 p.products_id, pd.designer, pd.brand, p.products_image FROM products_new p JOIN products_details pd ON p.products_id = pd.products_id WHERE products_status = 1 AND inventory_item = 'Y' AND p.products_image IS NULL OR p.products_image = '' OR p.products_image = 'noimage.jpg'