Home >Backend Development >PHP Tutorial >调用,该怎么处理

调用,该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:53:37850browse

调用
$resultStr = _response_text($postObj,$contentStr); 写上去可以  但是调用数据库$resultStr = $rows["softsize"]; 却不行 softsize数据库里的值就是_response_text($postObj,$contentStr);  为什么不行呢??
------解决方案--------------------
eval("return {$rows[‘softsize]}");试试
------解决方案--------------------
eval 的参数必须是合法的 php 语句

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