07-06-2012, 11:17 AM
[eluser]reghan[/eluser]
Hello I am having issues with my database/codeigniter program
there error I am getting is:
Error Number: 1265
Data truncated for column 'Day2_LostRevenue' at row 1
its when I try and submit a blank into the database.
its set up as follows:
type: float(9,2)
null: yes
default: null
is this happening because its trying to insert null into a column thats a float?
I am just not sure what to do. I would like to be able to insert nothing an have it blank if that makes sense.
Thanks in advance
Hello I am having issues with my database/codeigniter program
there error I am getting is:
Error Number: 1265
Data truncated for column 'Day2_LostRevenue' at row 1
its when I try and submit a blank into the database.
its set up as follows:
type: float(9,2)
null: yes
default: null
is this happening because its trying to insert null into a column thats a float?
I am just not sure what to do. I would like to be able to insert nothing an have it blank if that makes sense.
Thanks in advance