Thanks, The Chancer, but my question is not about this...
Lets's say, I activate a "silver" account for 35 days. Right after that I want to add more 35 days, so, account will be valid 70 days (35+35).
If I use:
sql_query("update portal_users set validation= 'validation+".$exptime."' where username='".$user."'", $dbi);
I get validation time not 70 days, but for 34 years - till 19.01.2038.
So, first of all I have in some way to convert time which was entered in MySQL first time (how many days left) and only then to update +$exptime
Sorry for my English. I hope you understand what I mean.
Thanks