I have a input form which has a select field. In the options you have a value attribute which I have a special character included. This is the code:
<option id="Applicant_Industry" value="Engineering & Manufacturing | Food & Snacks">Food & Snacks</option>
When is stores to the database using PHP and mySQLi it saves it as its special character of &.
I was wondering if there is a way to allow PHP to save the HTML value instead of the special character? (e.g. & amp;)
I hope that makes sense!
Thanks!