DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
ternary operator in php
<?php $x=4; $y=3; if(x>y)?echo"X is large": echo "y is large"; ?>
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#ternary
#operator
#php
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit