I have
two table and
Two catalogue page and they link to each table
but want it click
they will link to one page how can do that like for e.g
Table 1
ID Product
1 Toy
Table 2
ID Product
1 Bed
Want I click on the toy in my catalogue it will veiw all the toy thing from table 1
Want I clcik on the bed in my catalogue it will view all the bed thing from table 2
but they are link into one page is that any way to do this
Plus how do I know which Id bring to which table in my add cart code?
Need help in this
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Tan Kai Kai114 reputationPosted Jul 8, 2013, 5:27 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 8, 2013, 6:13 AM EDT
example:
Select ID as ToyID, Product as ToyProduct from Table1
and
Select ID as BedID, Product as BedProduct from Table2
Now you can use this id's.
Tan Kai Kai114 reputationPosted Jul 8, 2013, 6:16 AM EDT