0 ){ mysql_select_db($database_conn, $conn); $query_rB = "SELECT * FROM galeriasImages WHERE idProducto = ".$row_rN["id"]; $rB = mysql_query($query_rB, $conn) or die(mysql_error()); $row_rB = mysql_fetch_assoc($rB); $totalRows_rB = mysql_num_rows($rB); ?> " alt="" width="220" border="0" class="lbThumb"/ onclick="window.location.href='gallerysImgs.php?no='" style="cursor:pointer">