[Discuss] mysql mystery

Stephen Adler adler at stephenadler.com
Sat Aug 20 12:56:53 EDT 2011


Hi All,

I've run into a problem with mysql/php. I have a table in which one of 
the columns is defined as a double. The problem is that when I fetch the 
contents of that column from my php script, the value gets nulled out. 
Doing a sql query from the command line mysql tool returns a non null 
decimal number, but that same query returns a nulled value in php. The 
columns defined as integers works fine and of course the string type 
columns work fine as well. Any ideas?

thanks. Steve.




More information about the Discuss mailing list