Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if else in php

$result = ($number == 1) ? 'active' : 'disable'
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
4+2 =