最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么報(bào)錯(cuò)呢錯(cuò)誤1064

Illuminate\Database\QueryException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'age) values(?, ?)' at line 1 (SQL: insert into student(name age) values

代碼為

<?php
namespace?App\Http\Controllers;

use?Illuminate\Support\Facades\DB;

class?StudentController?extends?Controller
{
????public?function?test1(){
??????$bool=DB::insert('insert?into?student(name?age)?values(?,??)',['東堂',18]);
??????var_dump($bool);
????}
}


正在回答

1 回答

student(name?age)

name 與 age? 間沒逗號(hào)

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么報(bào)錯(cuò)呢錯(cuò)誤1064

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)