我目前试图在我的问题和回答表数据传递,但我得到这个错误 Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, string given, called in 似乎在我的控制器运行这条线时将发生 $answers = answer::create
通常我知道如何查询和连接三个表,但在这里我无法想象它将如何发生。事情是,我跟了3个表: 类别 - >列 id
name
image
子类 - >列 id
table1_id
name
image
子子类 - >列 id
table2_id
name
image
所以图像只能添加到Category或Category->Sub-Category或第三级Category->S