Laravel loop where: Posts as post where post_user_id and and user_id match
as title says I want to make a loop foreach item where the post_user_id and user_id match, but just dont know quite how @foreach($posts as $post where $post->user_id == auth()->user()->id) @endforeach There many posts with different post_user_id's but i want…