When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
School House Rock?
I thought that at first too, but the OP said it was live action. Also, there was no entering of C Ds on SHR (since it was made in the 70s, before C Ds existed, that’s not surprising).
Confirmed Bachelors: the dramedy hit of 1883!A.J.'s Time Travelers maybe?
Watching A.J.s Time Travelers now, that might be it. Pretty sure that was it. Thank you.
Glad to be of help! A show with that level of weirdness will stick in your head (even if you never liked it very much).
There was a show from what I would believe was the 90s. It had a kid who would I believe enter into a cd for an edutainment show which used the catchphrase knowledge is power a lot. No clue what the name to it was.