Mega Code Archive

 
Categories / Php / Strings
 

Comparing strings case-insensitively

<? if (strcasecmp('a@demo.com', 'a@demo.com') == 0) {     print "Welcome back, Mr.."; } ?>