Try changing
$rez1=mysql_query($sql1);
to
$rez1=mysql_query($sql1) or die($sql."\n".mysql_error());
To view any errors arising from the second query, although I don't think this is the problem. Also, you could try this code just to see the structure of the array being returned by mysql_fetch_assoc().
$sql1="SELECT * FROM descriere,poze WHERE descriere.id_hotel=$idhh AND poze.id_hotel=$idhh";
$rez1=mysql_query($sql1);
$row=mysql_fetch_assoc($rez1);
print_r($row); exit();
Finally, if this doesn't show up anything unexpected could you provide the first sql statement and the structure for your tables please?