Will some moderator please move this to the PHP forum??
And small.j: You do know this code will only work if (a) saved as a ".php" file (NOT ".html"!!!) and (b) you have PHP enabled on your web server?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.