Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] mysql mystery

The mystery deepens... I converted the column of type double to a type 
varchar(16) and I still get a null result when I query the column... uggg...

On 08/20/2011 12:56 PM, Stephen Adler wrote:
> 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.
> _______________________________________________
> Discuss mailing list
> Discuss at

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /