I am making an online form where only members can log in, and they complete the forms what i want is that in the submitted by field the name of the user should come automatically (the person who just logged in and filling the form).

I have two things in mind one is that they complete the form fields excluding there name and when he/she submit the name should go directly to my DB. or there should be a field containing there name which they can't change.

So which option is best and how should i do that and if there is other alternatives what are they ?

I am only a newbie as fas as web development is concerned can use ultradev or dreamweaver to make pages as far as coding is concerned . so is this achievable for me or not?