’
this kind of apostrophe ruins my input which is saved to database. I've tried
$GeneralChangeDescriptions[$ChampionNumber+1][$indexGeneral+1]=str_replace("’", "'",
$GeneralChangeDescriptions[$ChampionNumber+1][$indexGeneral+1]);
So changing ’
to '
with no results I still get empty field.
This value with apostrophe is shown just fine but after sending it with
<input type="hidden" name="GeneralChangeDescriptions" value="'.htmlspecialchars(json_encode($GeneralChangeDescriptions)).'">
it no longer is visible the whole input is blank is there any way to fix this?
Update:
After fiddling a bit with code I found out that json_encode completely wipes my input after sending are there any easy solutions?