I don't think it matters necessarily what you eat, but try not to eat to soon before going to the gym, as the food won't have had time to digest.
I am a faithful lover of porridge and its many wonders, so I'd recommend some of that, maybe an hour or so before you go?