Is there a way to automatically create a table(id,password) with 200 rows, and generate 5 digit password (1-9, A-Z)for the 200 rows with php/mysql?
Is there a way to automatically create a table(id,password) with 200 rows, and generate
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For generating the 5 digit password in MySQL you could use something like the following:
And if you want to solve everything on database level you can take a look at the loop syntax provided by stored procedures.
Example from: http://dev.mysql.com/doc/refman/5.5/en/loop.html