hi,
mache jetzt folgendes und es fkt. nicht:
function br2nl($nachricht)
{
return preg_replace('!<br.*>!iU',"\n",$nachricht);
}
$test = "hallo <br /><br /> oweijf f<br />";
br2nl($test);
echo($nachricht);
jetzt gibt er mir nichts aus
hi,
mache jetzt folgendes und es fkt. nicht:
function br2nl($nachricht)
{
return preg_replace('!<br.*>!iU',"\n",$nachricht);
}
$test = "hallo <br /><br /> oweijf f<br />";
br2nl($test);
echo($nachricht);
jetzt gibt er mir nichts aus