You don't put codes on the disc. Action Replay modifies the game's memory while it runs. The disc stays read-only.
Use codes sparingly—they can break the intended experience.