Transform value 0 in no and 1 in yes help needed


Posted on 16th Feb 2014 07:03 pm by admin

Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represent true. everything works great in display to the user end it sees 0 or 1 i want to replace the 0 to display No and 1 to display Yes or a picture. please advise me how can i make this work.

No comments posted yet

Your Answer:

Login to answer
255 Like 14 Dislike
Previous forums Next forums
Other forums

how can i display php source code snippets ?
I am outputting some pho code .. and I want to display the source code so people can copy and paste

How to add advertisment on top of videos
Hello,
I was told that i should find the answer for this problem in this forums.
I searched a

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

PHP / MySQL Associative Multidimensional Array:
Hello.

I have data in a MySQL Table that adheres to the below: (note, no index, could add if

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash