扫码关注官方订阅号
TP 中fetch()函数,可以把输出内容读到
phalcon有没有这样的函数,把要输出的内容存到字符串中
小伙看你根骨奇佳,潜力无限,来学PHP伐。
$view->render(...); $view->getContent();
这样可以吗?
$users = User::find(); foreach($users as $user){ print_r($user->toArray()); }
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这样可以吗?