vRory
Unemployed.
- May 4, 2011
- 447
- 69
i want to run a sql like this
in reg_timestamp,
i want to get the users reg time original from users table how can i get this and make it insert into the db?
PHP:
mysql_query("INSERT INTO user_info (user_id, bans, cautions, reg_timestamp, login_timestamp, cfhs, cfhs_abusive) VALUES ('".$_SESSION['user']['id']."', '0', '0', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '0', '0')")
in reg_timestamp,
i want to get the users reg time original from users table how can i get this and make it insert into the db?