code
<?php $array1 = array(0,1,2,3,4,5,6,7,8,9,'q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m','Q','W','E','R','T','Y','U','I','O','P','M','N','B','V','C','X','Z','A','S','D','F','G','H','J','K','L'); $i= 0; $str = null; while ( $i<= 31) { $str .= $array1[array_rand($array1,1)]; $i++; } echo $str; ?>