Hi all,
First let me say how great these boards are. They have answered nearly all of my queries whilst i have been developing a site over the past 4 months. I would like to think as a result i have gone from a PHP newbie to a PHP veteran!
However, i am struggling using mysql joins (since probably suprisingly i have never needed to use them before). I will try to get to the point as quickly as possible.
I am importing xml data into 2 tables (each has an identical structure), the first table contains data that is found in another table of known products and the second table contains all other product data that is unknown i.e. not match with known data table.
I simply want to run an sql query that gets data from both tables when a criteria is met and store in one array i.e.
when i get results from one table only it is a simple:
SELECT * FROM t_awdatafeed where CatName='Digital Cameras'
I have a degree of understanding of how joins work but I cannot find any examples for my case and all attempts to date have failed.
Can anyone help??
Cheers
Darren