04-19-2018, 07:35 AM
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 (transaction_id int(10),date date,provider varchar(25),number bigint(20),amount int(5),cashback int(5),wallet int(6),status varchar(6))";
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
Code:
{$d}