Question: Single Quotation Mark

Single Quotation Mark

I have a problem, in the purchase order, if I want to add a note in the note area and I use single quotation mark in my note all the Purchase order disappear, I try with all the 3 version I

OB

Oscar Benitez

Asked

I have a problem, in the purchase order, if I want to add a note in the note area and I use single quotation mark in my note all the Purchase order disappear, I try with all the 3 version I have and all had the same problem. this is the code from edit were is the problem. with the single quotation mark in the Textarea.

<div class="clearfix"></div>
<div class="form-group">
 <?= lang('note', 'ponote'); ?>
 <?php  echo   form_textarea ('note',(( $_POST['note'] ?? ' ' )),   'class="form-control" id="ponote" style="margin-top: 10px; height: 100px;"'); ?>
 </div>

I google the problem and they said is in php scrip. I have to use something else in the code to make work but I don’t know because I try many things already and nothing work. can you guys help me.