Forum Moderators: coopster
I'm working with PHP and MySQL and for some reason I need to format the checkbox (0,1) format to the more human readable format of "Yes and No". How can I accomplish this with PHP?
Basically I have a table of users and there is a column called "Allowed?". The result can be either 0 or 1, but I want to make it Yes or No instead. What function should I use?
Thanks in advance for your help.