Thanks a lot. This does exactly what I asked for. With the problem, I am guessing you mean a new entry does not get added until after a page refresh. This is fine for me because entries will be added by guests who are not logged in anyways, so each entry will need to be moderated. I would not have even noticed the issue had you not told me about it.