1. He told you that if... (This is already grammatically correct.)
2. He said... or He asked... (You need a verb to complete the sentence. "Please" is not a verb.)
Examples:
* He told you that if you study hard, you will succeed.
* He said he would be late.
* He asked if you could help him.