Re: PHP and PostgreSQL
| From: | Teodor Cimpoesu | Date: | Tue, 04 Jul 2000 18:48:00 +0000 |
| Subject: | Re: PHP and PostgreSQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4792@lists.php.net to get a copy of this message | ||
Hi Corey!
On Tue, 04 Jul 2000, Corey Mosher wrote:
> 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?
>
How do you know it's a string?
did you run psql and select on the table, or you are talking about PHP
values? If so, maybe PHP translated it into '' (null string) for you.
-- teodor