Subject Inserting NULLs as parameter
Author Jiri Cincura

I have a simple function in PHP:
@fbird_query('update or insert into polls (id, question, visible)
values (?, ?, ?) returning', $this->id, $this->question,

and when i.e. id param is null (indicating, that this is new, unsaved
object) I get error "Parameter 1: non-empty value required in".

Is there any way to use parameters and nulls?

Jiri {x2} Cincura (CTO |