Let's say i have this code:
$value = mysqli_real_escape_string($con, $_POST['value']);
$value = strip_tags($value, '<br>');
for example with this value: $_POST['value'] = "<div>how<br/> you doin'?</div>";
.
Should I escape $value
after changing its text value? It contains an apostrophe that can cause problems with the mysqli queries, or even a SQL Injection. Thanks!