YOU SAID:
i like food, he said.
INTO JAPANESE
私は食べ物が好きだ、と彼は言った。
BACK INTO ENGLISH
He said that I like food.
INTO JAPANESE
彼は食べ物が好きだと言った。
BACK INTO ENGLISH
He said he likes food.
INTO JAPANESE
彼は食べ物が好きだと言った。
BACK INTO ENGLISH
He said he likes food.
That didn't even make that much sense in English.