<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Pagination\Paginator; use Illuminate\Pagination\LengthAwarePaginator; use App\Membres;
class MembresController extends Controller { public function inscriptionsparjour() { ini_set('memory_limit', '512M'); $parjour = DB::table('membres') ->select(DB::raw('count(*) as nb , membresDateInscription as Date_Inscription')) ->where('membresDateInscription', '>=', 2008-01-01) ->where('membresIdentiteARevoir', '=', 0) ->where('membresForceInscription','=', 0) ->where('membresCourrielValide','=', 1) ->groupBy('membresDateInscription') ->paginate(12); return view('Membres.Inscriptions.inscriptionsparjour')->with('parjour', $parjour); } }
// ========== VIEW =============
Date | Code Promo | Nombre |
---|