Cholera is very different from typhoid. They both cause diarrhoea and caused by bacteria but they are two different diseases. Both infections arise from contact with contaminated food or drink. Typhoid is called by Salmonella typhi whilst cholera is called by a bacteria called Vibro cholerae.
The good thing is that both diseases are treated and there are vaccines against both diseases available.