due to different character sets installed in php and the database strtolower() and LOWER() will NO return an identical value. We need to keep the LOWER within the sql statement