dimanche 2 juillet 2017

How do I find the table name in laravel?

function count_item($id ,$table_name) {

$count = DB::table($table_name)->where($id , 'replay_subject' )->count();
return $count;

}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire