Is there a function similar to now() but that will automatically insert the username in to a text field. I need to know which user added a comment in a message area I have on the website. Is there a way to use a $_SESSION[userid] function ?
Thanks for any help.