Serial Programming code help

Yeah, I think you need to be more specific about what you're hung up on. You mentioned something isn't working they way it should. What is it doing, and what should it be doing? Post your code (use code tags) and walk us through what is happening, and how that's different than what you want to happen.