convert caps to sentese case php
//string to all uppercase
$string = "String with Mixed use of Uppercase and Lowercase";
//php string to uppercase
$string = strtoupper($string);
// = "STRING WITH MIXED USE OF UPPERCASE AND LOWERCASE"$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
Also in PHP:
- check if is key in array php
- count the no of characters in a string in phph
- Call Python From PHP And Get Return Code
- centos 7 install php composer
- convert json to array php
- display error message in php
- check if contain keyword php
- base64 php decode with password
- check my version of composer
- How to handle max time of execution
- factoring and seeding in laravel
- /laravel-2020-07-27.log" could not be opened
- all php error report
- count sql query in php
- check if substring is present php
- check if a string contains a word in php
- csv to json php
- create new seeder laravel
- catch try php
- create custom pagination in laravel 7 for api
- date() today php
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.5" laravel
- Laravel Eloquent, group by month/year
- current datae in php