Would I just do something like
mysqli_real_escape_string($dbc, htmlspecialchars(trim($_POST['example'])));?
Would I just do something like
mysqli_real_escape_string($dbc, htmlspecialchars(trim($_POST['example'])));?
htmlspecialchars function is used to encode characters those have special meaning in HTML language. Thus, there is no direct connection between this function and mysql.