CSS
11-13-2007, 08:09 PM
I'm making a website for a group of friends of mine in PHP that is going to password protected and given out to about 5 people. Logging into the site will basically identify who's been to the site, as each of the 5 will be given a different password. After logging in, they will just be directed to a page with a "Comments" field, and then comments left by other people displayed above it.
As the enter their comment and post it, their 'name' will automatically be determined by what password they login with. For example:
Jdh7GA5 - Frank's password to login to the website
Kz08Nba - Dan's password to login to the website
If someone logs in with the password Jdh7GA5 and submits a comment, the comment is displayed as "Frank: (his comment here)"
I'm having trouble constructing this myself.
As the enter their comment and post it, their 'name' will automatically be determined by what password they login with. For example:
Jdh7GA5 - Frank's password to login to the website
Kz08Nba - Dan's password to login to the website
If someone logs in with the password Jdh7GA5 and submits a comment, the comment is displayed as "Frank: (his comment here)"
I'm having trouble constructing this myself.