Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php if elseif endif

if ($a > $b):
    echo "a greater than b";
elseif ($a == $b): 
    echo "a equals b";
else:
    echo "a is neither greater than or equal to b";
endif;
 
PREVIOUS NEXT
Tagged: #php #elseif #endif
ADD COMMENT
Topic
Name
4+8 =