asked on
$consulta = $pdo->query("SELECT palavra FROM config_palavras_portuguesas where soundex(palavra) = soundex('$palavra_escrita')");
while($final = $consulta->fetch(PDO::FETCH_ASSOC)){
MySql Soundex work almost perfect, but there is a defect, if I try to get similiar words for "rabacco", the output is always words started with "r", and in this example, I will never get the most logical word for the mistake "rabacco", that is "tabacco".