This forum is archived. Posts are preserved for historical reference. For current help, join us on Discord.

join.php how add stuff

In Off-topic Discussions · Started by pahalprashant on 2018-04-19 7:35 am · 6116 views · 1 replies

I want that whenever a person registers, a new table is created where his userid is the table name. But i am not able to do so
Iadded this code at the end of the join.php but the table is not being created, Please help me


$d = $user->data()->id;
$sq2 = "CREATE TABLE
{$d}
(transaction_id int(10),date date,provider varchar(25),number bigint(20),amount int(5),cashback int(5),wallet int(6),status varchar(6))";
Check out during_user_creation in usersc/scripts.