Hello everyone, I have a situation, its probably simple yet for me its not...
Here goes...
I have a Table, lets call it user,
Table 1
(user)
user_id | Name
1 | Piet Pompies
2 | Koos Viljoen
then I have a second table called posts,
Table 2
(posts)
post_id | Posts |user_id
1 | This was my first post | 1
2 | This was my last post | 1
3 | Another Posting Made | 2
4 | Another one | 2
5 | And the last one | 2
Now I would like to return results that shows only the last post made like this
Now I want to display the results like this through a while loop...
Result of user_id 1: Piet Pompies | This was my last post
Result of user_id 2: Koos Viljoen | And the last one
Please help me with this, any help would be highly appreciated ! :o