I am extremely tired = extremely stupid but I want to get on with this first thing in the morning...
<div class=' form-group smhTextArea removeForAjax' style='margin-bottom: 10px'>
<div class=''>
<textarea class='form-control message-text-area' rows='4'
name='message<?= $jj ?>' placeholder='New text box <?= $jj ?>'
id='message<?= $jj ?>' >
ID <?= $jj ?> "\n" <br> Msg:<?= $stackContent ?><br>
</textarea>
</div>
</div>
Output comes out as:
ID 1 "\n" <br> Msg:4 Mary had a little lamb it's... ??? @ "<br>
I have looked at lots of answers on here and searched Google but can see nothing.
If this should work it is possibly that this is a very ill-formed test page at the moment.
Once again sorry if dumb but passing out here!