I’m trying to figure out how to properly configure my mysql database to store numbers as a timestamp. I don’t believe this is the correct way to do so. I tried changing the TYPE to VARCHAR but I get a mysql error. The below URL is where I want my user to input information.
Column
TYPE | timestamp
Default | CURRENT_TIMESTAMP
Collation
Attributes | ON UPDATE CURRENT_TIMESTAM
Null
Auto_Increment
Comments
My mistake. I gave the wrong URL and worded my question improperly. This is what I meant.
This is what I’m attempting to do. I want to store numbers for each user in a mysql table.
Let’s say for example user “bob jones” inputs his favorite number of 2 @ 2012-08-21 18:24:45. Then one day later he then changes his fav number to 5. How would I store/keep his first number of 2 and also 5 in a mysql table?
In your process wouldn’t I need to create a new table every-time a user inputs a new favorite number?
The reason why I ask is because what if user “bob jones” wants to add 15, 25 or 125 new favorite numbers. Wouldn’t each new favorite number need a new table?