Create a form in dreamweaver, two input boxes, username and password. Also have a submit button. Point the form to wards a file to do the processing, an example filename is login.php.
Login.php should take the vars $GET["userid"] and $GET["password"]. Compare these with a database of members and use
if ($_GET["password"] == "password") (or whatever)
then redirect when the password is OK. As leatherback said search, this will be the easiest and most comprehensive way to find out more. Just press search at the top of the page and look for login script. You may also want to have a look at a tutorial or two if you say you are a complete novice, I would recommend webmonkey, they are where I gained my footing with PHP, I highly recommend them, the address is:
http://hotwired.lycos.com/webmonkey/programming/php/
If you don't know HTML i would recommend looking through the tutorials concerning that as well, it is very useful knowledge to have when working with PHP.