Online solution to phpSmarty template errors! & Nbsp; php & nbsp; The Smarty template is incorrect. do you have to install the Smarty template first, I copied the source code directly to the machine that configured the environment, and the above problem occurred. there was no problem with the original machine. I don't know what the problem was. please kindly advise! Online and other results php Smarty template errors solved online!
Php Smarty Template error. do you have to install the Smarty template first? I copied the source code directly to the machine that configured the environment, and the above problem occurs, there is no problem with the original machine. I don't know what the problem is. please advise me! PHP Smarty source code sharing online and other results:
------ Solution --------------------
Add
Error_reporting (E_ALL ^ E_NOTICE );
Avoid conflicts first.
------ Solution --------------------
The reason why the Chinese character becomes question mark is: the content stored in the table cannot be converted into the character set you need.
------ Solution --------------------
Reference:
Quote: reference:
The reason why the Chinese character becomes question mark is: the content stored in the table cannot be converted into the character set you need.
Is there any solution? What we can see in the database is normal. when we read the page, it is garbled. the encoding machine is okay, and it won't work if it is configured to someone else.
This problem can be solved by collecting information first.
1. what is the field encoding in the table?
2. what is the code of the program file?
Solve these two basic problems