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

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Getting the full city list from maxminds geoip database
I am suprised I can't find any references to this.

I have maxminds geoip lite installed and i

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

Not connecting to DB using ruby, error:env.c:257:in oci8lib.so: ORA-12154:
Hi All,

I am trying to connect to the database server from the client server using ruby and f

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

rand() function
just a general question guys a girls, is the rand() function 100% random or is it based on time?

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

losing session vars when arriving from an email link
Hi,

I've got a confirmation script made that sends an email with a link for a user to confirm

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