+ 1

How do i prevent from case sensitive in php ?

For example my variable is $name ="jon" ; //j is small Now if i right Jon it will error as not defined, how do i prevent from this case sensitive in specific areas??

2nd Nov 2020, 7:46 AM
G. Yaseen
G. Yaseen - avatar
1 ответ
+ 1
Make the both on upperCase and compare!!
2nd Nov 2020, 9:33 AM
CHERIEF Houcine Abdelkader
CHERIEF Houcine Abdelkader - avatar