I just copied and pasted your coding and it ran just fine. Is that happening on your web hosts server or a development server you are running at home?
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!