Instructor recounts a flight where an emergency landing revealed the critical importance of meticulous preflight checks with regard to fueling.