1. Create a new form when the canceled check mark id
2.
To user table (user and pass columns) insert data,
$sqI="INSERT INTO user(user,pass) values($user,$pass)";
When we as an int time, sq | executed in the database
insert into user(user,pass) values(001,001);
However, when performing a char type data, SQL statement becomes:
insert into user(user,pass) values(abc,abc);
Now we can see the problem now, because char type to add "symbol.
We will change the SQL statement:
$sq|= "INSERT INTO user(user,pass) values(" .$user.",'" .$pass.")"; 即可。