I have a variable that is either Yes or No. I would like
NULL to be inserted if it's No. Can I do this?

if ($variable == 'No') {
        $variable = 'NULL';
}

then INSERT it.

Thanks.
Jeff Oien

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