Re: mysql insert

From: Date: Wed, 11 Oct 2000 04:16:05 +0000
Subject: Re: mysql insert
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19495@lists.php.net to get a copy of this message
Hi Byan: > This works fine. However, there are fields in the > table that cant be null, but after doing the insertion > and viewing the table, those fields are null. How did you define the fields? Did it include something like not null default '', If so, then you shouldn't have a problem. When you say "those fields are null" do you mean a query returns "NULL" or does it return a blank "" If it's the latter, the fields are not null, they're blank. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y More than just answers. Solutions. (SM) http://www.analysisandsolutions.com/ 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#19495) next »