Hello I'm a newbie to programming and need help writing an if statement. Is this the correct forum?
I have a database set up in SQL with the following fields:
Category Questions Answers
I only want one category to appear for all of the questions and answers submitted for that category. The way I have it set up now all if a question is submitted for the same category then the category will list twice and a one question under each other.
How do I write something if I Dim Category
If it's the same category but a different question just list that question under that category. If it's a new category list that category and the questions and answers under that
I have a database set up in SQL with the following fields:
Category Questions Answers
I only want one category to appear for all of the questions and answers submitted for that category. The way I have it set up now all if a question is submitted for the same category then the category will list twice and a one question under each other.
How do I write something if I Dim Category
If it's the same category but a different question just list that question under that category. If it's a new category list that category and the questions and answers under that