Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel blade short if

{{  $var === "hello" ? "Hi" : ($var ==="howdie ? "how" : "Goodbye") }}
 
PREVIOUS NEXT
Tagged: #laravel #blade #short
ADD COMMENT
Topic
Name
3+7 =