If I generate a timestamp with PHP's time() and insert/update a row with it, what column type should I use?
I've used varchar(20) (64-bit) in the past, and I tried TIMESTAMP just then and it has the year 2038 error it seems.
Is it okay to just use varchar(20) to store a timestamp?