The most viewed posts

About Desktop Icons in Windows Computer

How to clean up Windows Computer

Driver Booster

CCleaner

Advanced System Care

Myanmar font and keyboard for Windows

Registry Reviver

How to make a computer secure and run faster

some (JavaScript Array Method)

Terms and Conditions

The most viewed items

Desktop Hard Disk

HP ProBook 430

Dell Inspiron 5559

External Hard Disk

SONY Playstation Portable

Laptop RAM

Laptop

ZilaStar ICT Jun 03 2019, 12:54:57
Category : php tutorials

String lower and upper in php

We can change all characters to lower case by using strtolower. The following code is an example.

<?php
$string = 'I am ThEt NainG WiN!';
$string_low = strtolower($string);
echo $string_low;
?>

We can also change all characters to upper case by using strtoupper. The following is an example.

<?php
$string = 'I am ThEt NAInG win!';
$string_up = strtoupper($string);
echo $string_up;
?>

  • Comments:

    No comment to show.

    To Contact
    Available Services
    Terms and Conditions