Home > Backend Development > PHP Tutorial > thinkphp 调用查询类型的存储过程返回值有关问题

thinkphp 调用查询类型的存储过程返回值有关问题

WBOY
Release: 2016-06-13 12:41:03
Original
1199 people have browsed it

thinkphp 调用查询类型的存储过程返回值问题

<br />
$arr_tree = $Model -> query("call exec_sys_menu_get_one(1,14);<br />
echo "<per>". print_r($arr_tree) ."</per>";<br />
Copy after login


存储过程中就是一个查询语句

执行后为什么$arr_tree的值是1呢,存储过程在数据库中执行是有记录集的……

thinkphp 存储过程返回值
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template