• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 928
  • Last Modified:

yes/no field in mysql using myphpadmin

What field type should I use in mysql (via myphpadmin) to set a yes/no field?  I am new to mysql and myphp and am used to working with MS Access
0
Susanstevenson
Asked:
Susanstevenson
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
use TINYINT, and store 1/0 (true/false):
http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html
0
 
SusanstevensonAuthor Commented:
Thanks!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now