Summary. Rote memorization has its place in learning, but the distinction between rote learning and meaningful learning is important. The goal of teaching is for students to understand the material they're being asked to learn, not simply to memorize it to pass a test.
Avoid milk products, caffeine, alcohol, and apple and pear juices, because they may worsen diarrhea. Soft, bland foods are recommended as well, including bananas, plain rice, toast, crackers, boiled potatoes, smooth peanut butter, cottage cheese, noodles and applesauce.
To my knowledge salt does not cause diarrhea. Diarrhea is more likely due to a gluten allergy or lactose intolerance. To check for those try eating gluten free for a week or so and see. To check for lactose intolerance try to taking lactaid and cut out dairy products for a week and see. To my knowledge salt does not cause diarrhea.