OK, thank you very much for this for help on this litle problem.
Well I stopped using single quotes in my HTML tags and used double quotes instead
It made it easier, even that did'nt get any wiser, eh 🙂
echo "<input type=\"hidden\" name=\"brodtekst\" value=\"".str_replace ("\n","<br>", stripslashes($brodtekst))."\">\n";
regards Thomas