che tipo di errore ricevi?
$stringa viene creata correttamente? esegui var_dum($stringa);