To make a contiguous selection ensure that the "Contiguous" option in the options bar is checked. This means that Photoshop will only select pixels that are connected or adjacent to the clicked pixel.