What would cause a 1997 Corolla to display the gas tank is empty when there is plenty of gas in it?

you have what is called a "float" in your gas tank. If the float is no good, then the fuel gage in your car will say that the car is on "E" when in all actuallity it is full.