Hi Marcel, thanks a lot for your help. The function works well. All I needed to do was disable the city and datetime display before enabling the function, as well as delete the var_dump($html). Thanks again!
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.