누구든지이 코드를 수정할 수 있도록 도와 줄 수 있습니까?여러 곳에서 Laravel이 작동하지 않습니다.
public function caritindaklanjut(Request $request){
$halaman="tindaklayanan";
$cari = '%'.$request->search.'%';
$rows=DB::table('keluhans')
->select(DB::raw('id,produk,username,masalah,status,id_departemen'))
->where('status','=','Pending')
->where(function($query) {
$query->where('produk','like',$cari)
->orWhere('username','like',$cari)
->orWhere('masalah','like',$cari);
})->orderby('id','asc')->get();
그것은 $ 쿼리와 점점 오류에 $ 가지 칼을 통과하지 못할 ... :)
당신은 $ 가지 칼 변수를 사용 놓친 –