Will try to explain as best i can :)
I have 2 tables
Cloths tables (many) to Question Tables (one)
I want to show questions to a cloth item. Which works fine
What i am trying to understand, is that if a cloth item is removed from the database, the question will not sure up
as i have this as my sql command
"SELECT contact.id, contact.name, contact.email, contact.comments,contact.type, contact.stockid, contact.date ,
stock.stockid, stock.name ,stock.mainimage, stock.price FROM contact,stock
where contact.stockid = stock.stockid
and contact.type ='ques'"
This will display the question related to stock item, what i am trying to get my brain around, how would i do it for example
If no stock.stock id, display question, but with a header, "this question is for a stock item that has been removed.
Any guidance would be great.
Many thanks