I need to create a random 6-digit number for a column in my website database. I know the rand() function can give me
a random number if it's not seeded. The rest is very confusing to me (how to get up the specific numer of digits I need, the range of numbers to work with, set the name of the column to put the number in, etc.) This is my first time dealing with the rand() function so I'm going to need as much help as I can get.
Any help will be appreciated.
a random number if it's not seeded. The rest is very confusing to me (how to get up the specific numer of digits I need, the range of numbers to work with, set the name of the column to put the number in, etc.) This is my first time dealing with the rand() function so I'm going to need as much help as I can get.
Any help will be appreciated.