for($i=0;$i<$cant;$i++) {$nombrehab_[] = $row_habitaciones['tipo_hab'] ;$suma = $row_total_tarifa ['suma'];}