开发者

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:'"':''}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜