What should my type be for votes in db |
I have my votes column in my database and have set it at
name = votes type = tinyint(3) When the user clicks on button it adds another vote to current votes But not sure if set type correct. Because if is a negative number -15 example not sure if tinyint(3) can handle it. Thanks
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
What should my type be for votes in db - by wolfgang1983 - 01-16-2017, 01:51 AM
RE: What should my type be for votes in db - by Diederik - 01-16-2017, 02:11 AM
RE: What should my type be for votes in db - by wolfgang1983 - 01-16-2017, 02:37 AM
RE: What should my type be for votes in db - by Diederik - 01-16-2017, 02:53 AM
|