Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

one line if statement php

echo ($var1 >= $var2) ? 'this is true' : 'this is false';
 
PREVIOUS NEXT
Tagged: #line #statement #php
ADD COMMENT
Topic
Name
4+7 =