Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if else in one line php

($var > 2 ? echo "greater" : echo "smaller")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #php
ADD COMMENT
Topic
Name
1+1 =