Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 24-09-2009
Member
 
Join Date: Sep 2009
Posts: 57
PHP to lower case

I would like to know that would be the php code to in order to import a string. Can any body tell me that how can i make php lowercase? Does any body knows about it? Let me know the correct way of doing it. Would appreciate, if any body provide me the correct information.
Reply With Quote
  #2  
Old 24-09-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: PHP to lower case

The function ToLower converts the symbols of the original string to lowercase. In addition to other alphabet symbols, this function correctly converts Cyrillic symbols to lowercase. However, data comparisons certainly are case sensitive.
Reply With Quote
  #3  
Old 24-09-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: PHP to lower case

If you want, you can also ignore the case, I myself do would do something like this in a situation where case needs to be ignored:
Quote:
$results = mysql_query ("select * from users where username like '$username'");
Reply With Quote
  #4  
Old 24-09-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: PHP to lower case

According to me, you just need to following the below code:
Quote:
<?
$lower = ToLower("АБВГД ABCDEF");
echo "Lower case: ".$lower;
// prints "Lower case: абвгд abcdef"
?>


The following code will help you to get lower case on your php.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "PHP to lower case"
Thread Thread Starter Forum Replies Last Post
Opening the plastic flap in lower case of HTC One S Esmond Ivers Portable Devices 2 18-04-2012 04:55 PM
How to move PC parts from a micro case to an tower ATX case? PlowMan Hardware Peripherals 6 07-06-2011 10:51 AM
Mac server begins with lower case Susquehannock Networking & Security 6 03-06-2010 12:22 AM
How to lower the string case in MySQL? giorgos Software Development 3 04-08-2009 05:10 PM
Apple Iphone 3G Case-Mate Case with Holster Axeor Portable Devices 1 13-07-2009 03:12 PM


All times are GMT +5.5. The time now is 11:43 AM.