PHP isn't like HTML or CSS. It's not a copy and paste world. PHP has prior setup, for example his database.php file is made prior to that page. You can't copy his database.php code either becase 1, don't steal scripts, and 2, you don't have the same MySQL username and password as him!
Well I have my register done all nice, as required fields it holds your email, name, and password. When you log in it asks for your email and password.
When they log in I have it so that they have their email stored in a session, but how do I get their firstname stored in a session, even though they didn't type it? Thanks.