Re: PHP and PostgreSQL
| From: | Joe Conway | Date: | Tue, 04 Jul 2000 18:36:17 +0000 |
| Subject: | Re: PHP and PostgreSQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4790@lists.php.net to get a copy of this message | ||
>Hi,
> I am trying to do an insert into my postgreSQL database
>from a form. When I try to insert a null value, it gets
>put into the database as a string of spaces. Any ideas as to
>why and how to insert the correct null value?
>
>Corey Mosher
What does your table look like? What does your insert string look like? It sounds like you may be
inserting '' instead of null into a char field.
Joe