I dropped my Iphone 5 into the toilet?

It was in my pocket then it fell into the toilet. I immediately took it out and dried it. It works fine, no problem. At first there was a problem with the speaker but now its fine. But it says "This cable or accessory is not certified and may not work reliably" even though I'm not using any. Is it safe to charge it? I turned it on and off and this is the only problem I have.

It should be safe but if you don't want to risk it, put it in a ziplock back filled with rice for 2 days to draw out any water.

Get a galaxy s5 phone and you would be OK it's waterproof for 30 minutes up to water 1m deep

Put it into a air/water bag filled with rice for 24-48 hours then try charging it, it should be fine but if you are unsure speak to your phone company