且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在foreach循环中奇怪的变量被覆盖

更新时间:2022-06-24 15:10:27

猜测,但是 $ this-> update()期望绑定参数使用单个数组吗?

Guessing, but does $this->update() expect a single array for its bind arguments?

$this->update
    (
        'menus_items',
        array(
            'link' => '/content/show?id='.$pageId,
            'id' => $menuId
        )
    );