i have two tables in my database. They are;
First Table : Categories ( id, name )
Second Table : Products ( id, categoryID, name, picture )
i have shared a picture for telling what i want.
i mean, in this picture;
Categories “Recent Conversations”,“Online”
Products “Recent Conversations(Finn,Han,Rey,Luke)” - Online(Poe,Ben)
how can i do this ?