阅读背景:

智能使用PHP str_replace(或类似的东西)

来源:互联网 

There are a large numbers of PHP variables I use in my template files and some of them need to be accessible for editors who can only use HTML. What I want to do exactly is have them identify the variable doing something like [ITEM_NAME_1] when typing/editing content, and PHP finds them because they are wrapped in brackets, and replaces them with the appropriate PHP variable (in that case, $ITEM_NAME_1)There are a large numbers of PHP variables I us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: