Jump to content

array serach case sensitive?


calmchess

Recommended Posts

The following searches an array for a specific string which works well except it seems to be case sensitive how would I make it case insensitive? I could be wrong too about it being case sensitive.....will you please clear this up for me?

 

if(array_search($adminname.":".$picpath.":".$link, $arr_unser)!==FALSE){

 

echo "string  found"

 

}

Link to comment
https://forums.phpfreaks.com/topic/183420-array-serach-case-sensitive/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.