For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Re: [PEAR] FormBuilder + DataObject and checkboxes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] FormBuilder + DataObject and checkboxes
Justin Patrin

2005-05-26, 8:59 pm

On 5/24/05, Dan Rossi <pear@electroteque.org> wrote:
>=20
> On 25/05/2005, at 2:53 PM, Justin Patrin wrote:
>=20
> Hopefully this isnt too confusing, I am tending to annoy the list
> lately ;) Ok my field is called alive and its type int(11) not null .
> Its basically to flag something active and not active.
>=20
>=20


Booleans should be int(1) unsigned, not int(11). If you set up boolean
fields as int(1) unsigned then DO will automatically flag them as
booleans and FB will treat them as booleans. Alternatively you can add
them to the fb_booleanFields array,

--=20
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com