Tag: if-statement

66 votes
26 answers
2.8K views
Too many 'if' statements?

The following code does work how I need it to, but it's ugly, excessive or a number of other things. I&ap

avatar
Stacia
0 1 0 9
asked 07 September, 2021
56 votes
10 answers
2.2K views
if else statement in AngularJS templates

I want to do a condition in an AngularJS template. I fetch a video list from the Youtube API. Some of the vide

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
1.9K views
How do I perform an IF...THEN in an SQL SELECT?

How do I perform an IF...THEN in an SQL SELECT statement? For example: SELECT IF(Obsolete = 'N' OR

avatar
Joseph
0 1 0 9
asked 07 September, 2021