PHP - if statement (shorthand)

<?php
         $input_type = "daily";
         echo ($input_type == "daily"? "yes" : "no")
?>

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

Setting IntelliJ IDEA to run Groovy Script

C# - BASE64 to Image