Showing the field value 1 or 2 as Text...
Login page created with SA.
I have recordset variable 'mem_type' which is either a 1 or a 2, depending on the users selection during registration and 'mem_type' id definitely returning the correct value for the user type.
I've tried the following
<?php echo ($row_idSellers['mem_type'] == 0)?'Buyer':'Seller'; ?>
Where idSellers is my recordset.
But it always returns 'Seller' where the 'mem_type' is either 1 or 2
Am I missing something here?