<%=session("MM_Username")%> PHP

<%=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