この更新コマンドを使用してテーブルを更新したいのですが、何も起こりません。誰もが理由を知っていますか?!
$db = Zend_Registry::get('db');
$updateData = array(
'user_type' => 0
);
$updateWhere = array(
'username = ?' => 'admin'
);
$res = $db->update('phpbb3_users', $updateData, $updateWhere);
この更新コマンドを使用してテーブルを更新したいのですが、何も起こりません。誰もが理由を知っていますか?!
$db = Zend_Registry::get('db');
$updateData = array(
'user_type' => 0
);
$updateWhere = array(
'username = ?' => 'admin'
);
$res = $db->update('phpbb3_users', $updateData, $updateWhere);