[RSS Feed/News] Getting data from multiple tables

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi, I need to get data from multiple database tables and display them in the same template, not sure of the best way of going about it.

I have DB table1

Table 1
  • productID
  • descriptions

Table 2
  • productID
  • productOptions

So I need to get the productID from table 1 and find the matching productID in table 2 and display the productOptions from table 2, there are multiple options in table 2 for the same productID so I need to loop through and list all the matching...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom