Home  >  Article  >  Backend Development  >  css - php的这个函数,前端如何去调用?

css - php的这个函数,前端如何去调用?

WBOY
WBOYOriginal
2016-06-06 20:21:501211browse

<code>    $info['desc'] = $info['description'];
    $info['desc2'] = textImgToPath($info['desc2']);
    </code>

第一个前端调用的方法是{$info.desc}
第二个调用的方法我写着{$info.desc2},但是显示的是错误、。

这个问题已被关闭,原因:表述不清

回复内容:

<code>    $info['desc'] = $info['description'];
    $info['desc2'] = textImgToPath($info['desc2']);
    </code>

第一个前端调用的方法是{$info.desc}
第二个调用的方法我写着{$info.desc2},但是显示的是错误、。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn