vendredi 31 janvier 2020

use ternary operator as if elseif and else

I want to check if the role is agency then the output is $agencyUsers else if the role is officer then the output is $officeUsers else I need to output 'No Group'

I try this but the output is 'No Group' for all users

<td></td>

Aucun commentaire:

Enregistrer un commentaire