Ok, I went through the process of normalization as its something I should do... now I can't get a single select to work the way I want it to lol
As an example how would I do the following:
Table A contains product names and ids
Table B contains a list of product properties and their ids
Table C contains the relationships between the properties and the products
Now how would I search for a product name and have it display the name and the properties?
SELECT name,property FROM tableA,tableB,tableC WHERE products.prodName='$searchstring' AND relationships.relProdId=products.prodId AND properties.property=relationships.relPropertyId
this should work in theory... however how do you get the data out? or did it return data or am I just a complete moron and you're laughing? 🙂
Mark