Answers for "how to set two things in a php if statement"

PHP
10

write if and else in one line php

$result = ($data->status == 1) ? 'active' : 'disable'
Posted by: Guest on November-08-2020

Code answers related to "how to set two things in a php if statement"

Browse Popular Code Answers by Language