View Full Version : htmlentities second parameter
cyphix
03-11-2005, 04:34 PM
First time I tried using htmlentities second optional parameter & I can't get it to work.... my code is:
$img_desc = htmlentities($img_desc, "ENT_QUOTES");
Thanks!
delinear
03-11-2005, 04:46 PM
Try it without the quotes around the second parameter.
cyphix
03-11-2005, 05:14 PM
Yep.. tried that already. :(
Kurashu
03-11-2005, 06:09 PM
$img_desc = htmlentities($img_desc, ENT_QUOTES);
That will work.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.