If you know where to go in Bangkok, I would say Bangkok is better (far better), however Pattaya is smaller and you can find places more easy, The sex industry in Phuket revolves around Bangla rd, but generaly Bangkok is cheaper than the 2 others
Anything you want you will probably find somewhere in Sukhumvit road