Hey,
I've ran this code for when a user registers;
Unfortunately when it's entered into the DB it says that the user ID is 0 and subscription ID is 0..Code:$engine->query("INSERT INTO user_subscriptions (user_id, subscription_id, timestamp_activated, timestamp_expire) VALUES ('" . $userid . "', '" . $userid . "', '1376239398', '1735689630')");
Any ideas why it's coming up like that?


Reply With Quote![RevCMS [PlusEMU] Auto give HC Subscription](http://ragezone.com/hyper728.png)


