jeudi 27 septembre 2018

Call to a member function where() on string

im going to develop web with laravel framework. this is my code :

$valws = DB::table('layananpublik')->sum('value')->where('tahun',$tahun)->where('bulan',$stringbln)->where('kategori',$PilihKat);

and i get an error :

FatalErrorException in JobHarianController.php line 195: Call to a member function where() on string



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

Aucun commentaire:

Enregistrer un commentaire