Scusa non avevo visto i parametri. Infatti la funzione necessita di 2 parametri

$message .= "Risultati:
".showAnswers('parametro1','parametro2');