Home > Backend Development > PHP Tutorial > utf8_general_ci is not case sensitive, so you have to use utf8_general_cs?

utf8_general_ci is not case sensitive, so you have to use utf8_general_cs?

WBOY
Release: 2016-07-06 13:53:40
Original
1911 people have browsed it

utf8_general_ci is not case sensitive, so you have to use utf8_general_cs?

Reply content:

utf8_general_ci is not case sensitive, so you have to use utf8_general_cs?

Generally use this utf8_general_ci

There is one with bin, but I don’t know the specific difference.

utf8_general_ci proofreading rules are compared very quickly.
utf8_general_ci is not case-sensitive. You need to use this when registering your username and email address.

utf8_general_cs is case-sensitive. If you use this for username and email, it will have adverse consequences.
Because the fields in the database are not case-sensitive when you use SQL statements, you generally use utf8_general_ci

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template