Transform value 0 in no and 1 in yes help needed


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

Hello,
Did you know?Explore Trending and Topic pages for more stories like this.
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

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

Warehouse Management
Hi,

On our system, we have two storage locations ( A and B ) where A is the main factory

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

Need help in log in and log out?
hi there all of u. i have recently created a site for someone. i have placed log in and log out and

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

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