On Thu, 2009-05-07 at 21:45 -0700, Michael A. Peters wrote:
Michael A. Peters wrote:
I'm having a problem with db2 and prepared statements.
var_dump indicates that some variables that should be type int are type
text.
These variables are the output of bcmath equations, and are
Robert Cummings wrote:
On Thu, 2009-05-07 at 21:45 -0700, Michael A. Peters wrote:
Michael A. Peters wrote:
I'm having a problem with db2 and prepared statements.
var_dump indicates that some variables that should be type int are type
text.
These variables are the output of bcmath
Michael A. Peters wrote:
I'm having a problem with db2 and prepared statements.
var_dump indicates that some variables that should be type int are type
text.
These variables are the output of bcmath equations, and are integer.
Does bcmath for some reason output a text type?
I can fix it by
Why not just use a regular expression match to see if there is anything
other than numeric characters? That will tell you if it is an integer before
you do the type casting.
(sorry if that sounds a little obvious but no-one seems to have suggested
it)
- Dan
Unknown Sender [EMAIL PROTECTED]
4 matches
Mail list logo