Quote Originally Posted by NogDog View Post
it's a bit more subjective as to which is simpler to achieve:
PHP Code:
$result serialize(count_chars($word1));

// versus

$letters str_split($word);
sort($letters);
$result implode(''$letters); 
If sort returned the array the code would look even simpler. Don't really understand why this function is by reference. Anyway I was thinking about the size of the DB more than anything else.

Also the scrabble thing needs to output a group of words for each intersection. So 7 tiles + a, through to z, and then we could find places on the board the letters could be useful.