DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
write if and else in one line php
$result = ($data->status == 1) ? 'active' : 'disable'
PREVIOUS
NEXT
Tagged:
#write
#line
#php
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit