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 s.code, pi.sku, pi.supplier_id, pi.image, pi.image_local, pn.products_id, pn.products_image from products_import pi join products_new pn on pi.supplier_id = pn.supplier_id and pi.sku = pn.products_model join suppliers s on s.id = pi.supplier_id where pn.inventory_item = 'Y' and pn.products_status = 1 and pn.products_id in (1046316) order by pn.products_date_added