empty form field => pgsql NULL gracefully how?

From: Date: Tue, 13 Feb 2001 20:51:08 +0000
Subject: empty form field => pgsql NULL gracefully how?
Groups: php.general 
Request: Send a blank email to php-general+get-39486@lists.php.net to get a copy of this message
Having nice simple things like INSERT INTO testtab2 VALUES ( upper('$symbol'), '$two_liner', '$href', '$full_desc', '$submitter_name', '$submitter_email', CURRENT_TIMESTAMP ) I hate to muck them up with a bunch of tests for empty vars, which then need to be replaced with NULL and have the single quotes ommited, etc. if there is some more graceful way? Britton Kerin __ GNU GPL: "The Source will be with you... always."

« previous php.general (#39486) next »