php function generating username and password for new users and saving them in the mysql database

Closed job
KSIEGOWOSC24
KSIEGOWOSC24
Employer
12 deals
Job category:
Desktop/web applications
Expected budget:

300.00 PLN

Preferable skills:
Published:
Finished

Job description

I need a PHP function which generates username and password for new users and saving them in the MySQL database

I have a mobile website-factura.pl. There is a PHP application which is accessed through registration on the website

I would like to do a function that automatically adds to the user (random username and random password)

I will use this function to send an e-mail to the user (for free) with data such as username and password

the user will get access to the highest option for a period of 1 year.