I want to convert a TINYINT(1)
value to string.
Let's say if subscription paid is equal to 1 (or true) then the outcome will be "yes" when I retrieve the value from my MySQL database to my .php
file.
If subscription paid = 0
(or false) the the outcome will be "no".
Is there a way to convert a TINYINT(1)
value to a string containing my words of choice?
I am sorry if I am being indirect or if more information about the issue is required