Removing double quotes in Smarty PHP
Im attempting to remove double quotes pass开发者_JS百科ed in a request parameter string. I know Smarty has a escape:'html' function however Id rather just remove all ".
Thanks.
According to the manual, there's a replace modifier:
{$yourValue|replace:'"':''}
精彩评论