Hi,
I want to generate a unique id but stuck at one point where I need a max 10char long output like A2987F2EWS, 234EGT56GT..... unlike SHA1 or MD5 so human can read it. Code is below but the better way is accaptable by me though.
Thanks
$mysql_id = 1;
$mysql_id_padded = str_pad($mysql_id, 19, '0', STR_PAD_LEFT);
$mysql_id_modified = substr($mysql_id, -1, 1) . $mysql_id_padded;
echo $mysql_id_modified;
//Now I need to generate an id which should be user-friendly