[EMAIL PROTECTED] (Rudy Lippan) writes: > From the ChangeLog: > * Fixed bug where strings that were used in numeric > context were not getting quoted on execute(). Now all > parameters are bound as varchar by default. > > **NOTE** this is a change in behaviour that MAY cause problems > with some SQL statements. If quoted integers, for example, > cause any problems, use bind_param(<column_id>, SQL_INTEGER) to > force a column to be bound as an integer. > > > And the thread: > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02133.html
Why not use SQL_INTEGER by default if /^\d+$/? The database will convert the integer to a string if needed. --Bill. -- William R Ward [EMAIL PROTECTED] http://www.wards.net/~bill/ ----------------------------------------------------------------------------- PROFESSIONAL PROGRAMMER, CLOSED COURSE. DO NOT ATTEMPT.
