Salve a tutti,
qualcuno mi sa spiegare come mai con un codice del genere:
anche scrivendo curva a 90° il carattere °(grado) non viene sostituito con GIOVANNI?Codice PHP:
<form action="test.php" method="post"><input type="text" name="ciao"><input type="submit" value="invia"></form>
<? if($_POST['ciao']) { $ciao = str_replace("°","GIOVANNI",$_POST['ciao']);echo $ciao; } ?>