Re: Interbase: how can I insert null values with placeholders?
| From: | Kiss Marton | Date: | Sat, 07 Jul 2001 17:53:34 +0000 |
| Subject: | Re: Interbase: how can I insert null values with placeholders? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10135@lists.php.net to get a copy of this message | ||
>
> So I guess I'm saying that in the code if you change the $asinteger
> assignment to:
>
> $asinteger = "NULL"; /* notice the quotes */
>
> it may work. This would make the $asinteger PHP variable a string, but
> since the SQL would either like to have a numeric value there or the
> keyword NULL, that is probably what you want.
It doesn't work. I think that I need to modify interbase.c in php source
code. See Jeremy Bettis's code below!
Thanx for your answer,
Marton