Conditional IF statement not returning true even though echo of $user->province is correct July 7, 2022 by Tarik Billa Try changing this: if ($user->province == 'Free State') { to: if ($user->province === 'Free State') {