Re: postgres sql - adding to a database

From: Date: Tue, 11 Jul 2000 14:24:19 +0000
Subject: Re: postgres sql - adding to a database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1033@lists.php.net to get a copy of this message
Yes, you can put in less than the number of fields you have. The rest will be zero or NULL or what you set the default to be. /cody Tammy Bower wrote: > When you add to the database using $sql = "insert into <tablename> ( fieldname) > values ($fieldname)"; > > Do you have to include all the fields or can you just include one and update later? > > Thanks > tammy@intoweb.co.za

« previous php.db (#1033) next »