When php obtains the value of the option of the drop-down list through post, there is garbled code in the foreign access.

1. It is normal to insert data in China, and there is no problem with the value obtained, including remote access to Hong Kong.
2. A customer inserts data through this form in the United States and finds that the content of the database is garbled, which is the
value part of the option of the drop-down list (I don"t know whether the data is garbled or the select of the page is garbled).
3. The content of this list is in Chinese.
4. The page is utf-8 encoded.

Mar.07,2021

it is possible that the client's browser page is not encoded correctly. Change your system to an English version for testing

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bbf4-2bb0f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bbf4-2bb0f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?