在我的表格中,我有8-9個檔案。所有的都是硬編碼的,除了一個,它應該來自數據庫。 UsersControllers.php(控制器) public function actionRegister()
{
.
.
model = new Users();
$modelUserType=UserType::find()->select(['id', 'type
在單選按鈕中,值即將到來。但是,我想顯示該值的名稱。 我user_types(表) id type status created_at
1 An Individual 1 2015
2 Firm 1 2015
UserController.php(控制器) public function actionRegister()
{
$m