» Smart Phones, Web Design, Google or whatever
Using PHP to convert a string to lowercase
At times you may need to change a string to all lowercase letters, here is the way to do that (2 samples including one practical application):
SYNTAX: string strtolower (string $mystring);
$myLowercaseString = strtolower ($mystring);
As with all PHP, test to make sure you’ve implemented correctly. Comments, questions or suggestions? Please leave a comment.
| Print article | This entry was posted by admin on July 15, 2010 at 9:20 am, and is filed under Web Design. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |