That's because you're binding it twice. You need to bind each argument with bind_param(), and then call execute() without any arguments.
That shouldn't be needed according to the DBI spec. The type set by a previous bind_param() is 'sticky' and so applies to the later execute().
Oh really? DBI is so cool!
Thanks Tim!
David
-- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED] Kineticode. Setting knowledge in motion.[sm]