dimanche 23 octobre 2016

laravel take posts not registerd by this user

How can i take posts not registered by this user ? I create posts by This Code :

Auth::users()->post()->create($request->all());

I can get user posts with

users()->post()->all();

but i need to take count of posts created by other users.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire