Changing first char to upper case in PHP

welcome to plus2net.com
After changing : Welcome to plus2net.com
$string= 'welcome to plus2net.com';
echo $string.'<br>';
echo "After changing : ".ucfirst(welcome to plus2net.com);
To change all the first chars ( of all words ) of a string we have to use ucwords()
All Basic Codes

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com







    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer