Since I am still new to PHP, I am looking for a way to find out how to get a specific character from a string.
Example:
$word = \"master\"; $length =
You can use your string the same like 0-based index array:
$some_string = "apple"; echo $some_string[2];
It'll print 'p'.
or, in your case:
$word = "master"; $length = strlen($word); $random = rand(0,$length-1); echo $word[$random];