Read thru your code very very carefully again! And again....and again....and again....
Use a piece of paper or something to keep track of what your program is doing if you have to.
Your transmit program is doing EXACTLY what you are writing it to do, like I was trying to explain in the other thread.
YOU aren't doing anything wrong, your program isn't doing anything wrong. Again, it's doing exactly what you programmed it to do.
What you have to do is program it to do what you WANT it to do...
The problem is in your program, your logic flow. Read it...You'll get it...