Hi everyone. I'm building a website for a friends (he's starting his own business). What he wants is, someone to visit his website, purchase something they like. When they pay through paypal, he wants the website to send them an e-mail with a password that is taken from a database (SQL) on the website. They will then be able to go to the website, enter the password and retrieve whatever they bought.
I'm nowhere near proficient in this stuff, so I was wondering if there is anyway to do this, and if so, would anyone be able to help me in providing or atleast pointing me in the right direction of retrieving the code.
I greatly appreciate any and all help. Thank you