On Mon, Apr 15, 2002 at 08:11:02AM -0400, [EMAIL PROTECTED] wrote:
>
> > $func->bind_param(":parameter1", q{$timestamp});
>
> 2) You're probably better off not quoting $timestamp when it's used as a
> bind parameter as it is passed to the database seperately from the SQL
> statement.
In fact, $timestamp must *not* be quoted with single-quotes, because
single-quoted strings don't interpolate. If a double-quoted string had
been used instead, the code would have worked, but the quoting would still
be unnecessary.
Ronald