[RESOLVED] trying to enter number into phpMySQL
I am trying to enter 0.1.1 into phpMySQL and I keep getting the 1265 error that my information has been truncated. And, it has. Each time the number shows up as 0.1
I have tried decimal, float and I am stuck.
When the only tool you have is a hammer, everything looks like a nail.
Yeah, 0.1.1 is not a number, it's a character string.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Thank you. Just plain VARCHAR worked.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)