Every resort will offer several scuba diving schools. They offer PADI courses leading to world-wide recognised qualifications. A 3-4 day PADI Open Water course leading to qualification in Thailand will cost you about £120. This is probably half the price you'd pay in the UK.
The only link I can lay my hand on is: www.westcoastdivers.com.