Question
Conditional statement ASP
I want to show information from a database using 2 WHERE
statements.
WHERE cat='restaurant'
WHERE show='True'
I have it working to show cat but I also want it to show information based on show as well.
I tried WHERE cat='restaurant' AND show='True'
but it did not work.
What I am doing is setting up a form so when anyone adds anything it will not show until I authorise it. The initial state for show is False.
Are there any tutorials for this.
Thanks.
WHERE cat='restaurant'
WHERE show='True'
I have it working to show cat but I also want it to show information based on show as well.
I tried WHERE cat='restaurant' AND show='True'
but it did not work.
What I am doing is setting up a form so when anyone adds anything it will not show until I authorise it. The initial state for show is False.
Are there any tutorials for this.
Thanks.