I’m using PHP/MySQL
I’m new to PHP.
I have two tables (see attached image). The product listing is in a table called tblListings and the related items table is called relatedItem.
The relation between the tabled is as follows:
tblListing.ID <=> related.mainID
How can I display the three related items for each Item? I think I will need to perform a Join between the two tables. I’m just not sure how.
Any help is greatly appreciated.