SyntaxFix
Write A Post
Hire A Developer
Questions
Simply, the logic would be
(condition) ? {code for YES} : {code for NO}