Don't get me wrong; I'm not the code police. It's just that it's been so long since I programmed with bare words, this looked like a syntax error: $thisday = (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[(localtime)[6]]; Note from the Author or Editor:Quote each word in the list for ...