I am using PHP and mySQL.
I need to generate a few random numbers and store them in the fields of a database row. What will be better and Is there any difference in the generation?
1) Using PHP's rand() and srand()?
OR
2) using mYSQL's RAND() function?
I need to generate 5 numbers between 1 to 100. This will repeat once a week.
-thanks.