non capisco perché la var $post è vuota...Codice PHP:
<?php
$dictionary = array ('&' => 'e',
'+' => 'più',
'<' => '',
'>' => ''
);
$post ="I generi musicali + ascoltati sono:R&B, hip hop, ecc...";
foreach ($dictionary as $da_sost => $con)
{
$post = ereg_replace($da_sost,$con,$post);
}
echo $post;
?>