jeudi 13 février 2020

My laravel project but some data not sound in query

public function plan($id){

        $video = DB::select("SELECT * FROM `video` WHERE `video_episod` = ".$id." ");

        dd($video);

        return view('users.subplan',['plan'=>$plan]);
    }

dd($video);

result :

[]


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/31T9YZz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire