PHP头条
热点:

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


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

$arr_tree = $Model -> query("call exec_sys_menu_get_one(1,14);
echo "". print_r($arr_tree) ."";


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

执行后为什么$arr_tree的值是1呢,存储过程在数据库中执行是有记录集的…… thinkphp 存储过程返回值 分享到:
------解决方案--------------------
自己动手,丰衣足食。

http://blog.csdn.net/cyd1919/article/details/8859898

www.phpzy.comtrue/phprm/8659.htmlTechArticlethinkphp调用查询类型的存储过程返回值有关问题 thinkphp 调用查询类型的存储过程返回值问题 $arr_tree=$Model->query("callexec_sys_menu_get_one(1,14); echo" ".print_r($arr_tree)." "; 存储过程中就是一个查询...

相关文章

相关频道:

PHP之友评论

今天推荐