Echoes a green Yes, red No, or blue Other depending on what is passed to it.
Should be 0 or 1
Description of Returned Data
An html colored string
Short for "binary," the bin function is great for all those tinyint(1) columns in the database. If you are representing these columns in a table, using bin will echo a green Yes if the number is 1 or a red No if it is 0. Anything else will echo a blue Other.