Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

Re: [PHP-DB] checkbox checking.. From: Johannes Janson (johannes.janson <email protected>)
Date: 04/10/01

Hi,

you could use an enum('yes','no') field instead of a char(1).
And then try to do instead of if (!empty($var)) something like
if ($var == "yes")...

jsut a thought..
Johannes

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>