mardi 20 novembre 2018

php random characters generator [duplicate]

This question already has an answer here:

in php we have rand() method to generate random numbers

    eg: $rand_num = rand(1, 9);

output : generates random number between 1 to 9.

In the same way I want to generate random characters between 'a' to 'z'. Any ideas.




Aucun commentaire:

Enregistrer un commentaire