Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel inline if else if

{{$var == 'hello' ? 'Hi' : ($var == 'bye' ? 'Goodbye' : 'another option')}}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #inline
ADD COMMENT
Topic
Name
3+9 =