PHP crypt() – Using PHP encryption methods

I had not done any user registration type stuff in the past and needed to figure this out. I wanted to store an encrypted password in a database, and then…