1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • 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;
    ?>