raviawasti
2 months ago

How can i sort user with highest number of post in laravel?

Posted 2 months ago by raviawasti

I have two table one user and other posts """ fields user: id, name, city, password etc Posts: id, user_id, post_id, title,content etc

I have to show 3 user who have highest number of post with just its name """

Please sign in or create an account to participate in this conversation.