Same here... That and starting daycare at 2.5 years old... Anyways peeing was okay but pooping in the toilet took a while for us too, I read somewhere that they felt like it was part of their body leaving them or something so it scares them. I don't have any advice besides consistently remind him. How long has it been? It took maybe a month for us to get it down. Mine is fully potty trained during the day but we still use a diaper for naps and nighttime. Being potty trained during the day and being physically/mentally ready to hold it while sleeping are two very different things so I'm personally not worried about that just yet.
Reply to Potty training- poop help!!