I have a code in PHP that is able to generate a 6-character alpha-numeric string but it does not ensure that there are 3 letters and 3 numbers generated.
It generates a string such as "ps7ycn" It does not have 3 numbers in between the alphabet. The numbers should be in between the letters.
example : a3g5h9