Hi, lets say i have 3 tables set out like this....
tbl_Customers
-------------
id
CustomerName
customertype_id
customerreferrer_id
tbl_CustomerTypes (eg.. Private, Contract etc)
------------------
id
Type
tbl_CustomerReferrers (eg.. Word of Mouth, Advertising etc)
---------------------
id
Referrers
How would i send a query that pulls an array with the following fields..
CustomerName CustomerType CustomerReferrer
Jones Contract Newspaper Advert
Smith Private Word of Mouth
etc
hope this makes sense.
tbl_Customers
-------------
id
CustomerName
customertype_id
customerreferrer_id
tbl_CustomerTypes (eg.. Private, Contract etc)
------------------
id
Type
tbl_CustomerReferrers (eg.. Word of Mouth, Advertising etc)
---------------------
id
Referrers
How would i send a query that pulls an array with the following fields..
CustomerName CustomerType CustomerReferrer
Jones Contract Newspaper Advert
Smith Private Word of Mouth
etc
hope this makes sense.