$mybase = mysql_query("(SELECT img,x,(y+5) AS y,w,h,id FROM objects) UNION (SELECT img,x,y,w,h,id FROM customers) ORDER BY y ASC");