Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jonatennhh's avatar

Laravel Relationships

I have three tables users, posts, and savedposts. within the savedposts table there are two columns: user_id, post_id. How do i retrieve all the post data from the savedposts table?

0 likes
1 reply

Please or to participate in this conversation.