This topic is locked

yes/no data type?

5/17/2007 10:44:18 AM
PHPRunner General questions
R
rekt author

Hey, what is the yes/no data type called in php 3.1? Cant seem to get hold of it. Wanting to create a field with Yes/No answer, this possible?
Also can you have more than 1 foreign key in 1 table. For example, In my members table, I need age_group_ID, level_ID and location_ID all as foreign keys.

Sergey Kornilov admin 5/17/2007

Sure, create TINYINT or INT field and choose both View as/Edit as to be a Checkbox.