cambia
Codice PHP:
echo $string
con
Codice PHP:
return $string