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..

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to