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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire