Warning: mysql_query() [function.mysql-query]: MySQL server has gone away in /usr/lib/php/pixilink/classes/Functions.php on line 6

Warning: mysql_query() [function.mysql-query]: Error reading result set's header in /usr/lib/php/pixilink/classes/Functions.php on line 6
MySQL server has gone away select DISTINCT(houses.house_id) from pixilink_360.houses join pixilink_360.houses_sites on (houses_sites.house_id = houses.house_id) left join pixilink_360.typesofhouses on (houses.type = typesofhouses.house_type) where houses_sites.site_id = 463 and is_deleted <> 1 and show_on_homepage = 'y' and status='Approved' and (typesofhouses.commercial = 0 or show_on_homepage = 'y') ORDER BY RAND()