The fancy-looking quotes won't insert into my DB, so I'm trying to convert them to %93 & %94 or normal quotes.
Nothing I've tried works.
Code:
$fancy=" “test” "; $fixed=htmlentities($old, ENT_QUOTES);
echo "fancy: $fancy<br>";
echo "fixed: $fixed"; Results: fancy: “test” fixed:
I want $fixed to be %93test%94, or even "test" would work.