Bonjour, j'ai besoin d'aide merci d'avance
Alors voici mon code php :
$text = $_POST['textarea2'];
$toto= '<span style="font-weight: blod;">(.+)</span>';
$tyty='[gras]$1[/gras]';
$text = preg_replace($toto,$tyty,$text);
et après je l'enregistre dans la base de donnée....
Mais sa marche pas