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

mysql_real_escape_string making variable equal nothing
i post a form and i post the variable:
Code: $var = $_POST[variable];then i echo $var its what i

Reg Ex
Im trying to search for the string: srv_9 (Dead ???)

I thought to use preg_match, however I d

Cant display mysql data
Hey all,

I am learning php and my first goal is to create a simple CMS. At the moment I am st

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Redistributing dependent dlls
Hai all ,

I have created an application in VC++ using VS2008 in a development machine which r

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

form class help (oop php5)
Hidy Ho Neighbors,

I'm forcing myself to learn oop/classes for php5. It seems like a good id

JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php
The page w

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

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