When phpadmin converts the generated SQL statement into PHP code, it will find that the field attribute is changed to 'CC _ user' instead of single quotation marks. Because the single quotes in PHP are strings
When phpadmin converts the generated SQL statement into PHP code, it will find that the field attribute is changed to 'CC _ user' instead of single quotation marks. Because the single quotes in PHP are strings
Help colleagues debug the Code:
$ SQL _insert_user = sprintf ("INSERT INTO cc_user ('CC _ id', 'name', 'Password') values (: cc_id,: name,: password )");
The SQL statement syntax is incorrect and the insert operation cannot be performed.
You can directly execute SQL statements in MySQL.
When phpadmin converts the generated SQL statement into PHP code, it will find that the field attribute is changed to 'CC _ user'
Instead of single quotes.
Because the single quotes in PHP are processed as strings, the field either uses '(the buttons on the Tab) or does not (in this case, the field cannot be a mysql keyword or a reserved word ).
The basics are very important!