$title = DB::table('posts')->where('id', '=', 1)->pluck('title'); var_dump($title); pluck 英文為摘取的意思,這裡就是從資料列中摘取title 這個欄位 ...
確定! 回上一頁