# \<%=session("MM\_Username")%\> PHP

**URL:** <https://forum.kirupa.com/t/session-mm-username-php/122540>\
**Category:** Uncategorized\
**Created:** [September 14, 2004, 5:23pm UTC](https://forum.kirupa.com/t/session-mm-username-php/122540 "2004-09-14T17:23:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davese](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@Davese](https://forum.kirupa.com/u/Davese)\
**Post date:** [September 14, 2004, 5:23pm UTC](https://forum.kirupa.com/t/session-mm-username-php/122540/1 "2004-09-14T17:23:32Z")

</div>

\<%=session(“MM\_Username”)%\>

Im making a basic forum in PHP. I don’t really know much code and am using Dreamweaver for most of the project. Basically when i come to post a post i want the logged in members name to come up on the post. I’ve a hidden field which will insert the users name into the databases post table, but i have worked on a task similar in ASP and the above code is what i used, but i can’t work out the PHP version?

Can anyone help please.

Also while im here how would i have a field which when the user was logged in said welcome -username-. (displaying user name)

any help apprechiated!, dave
