Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php title case


<?php
$foo = 'hello world!';
$foo = ucwords($foo);             // Hello World!

$bar = 'HELLO WORLD!';
$bar = ucwords($bar);             // HELLO WORLD!
$bar = ucwords(strtolower($bar)); // Hello World!
?>

Comment

PREVIOUS NEXT
Code Example
Php :: get all values inside session laravel 
Php :: Composer detected issues in your platform: Your Composer dependencies require a PHP version "= 7.3.0". 
Php :: composer install without dependencies 
Php :: hex to dec php 
Php :: json from php 
Php :: get age with carbon in laravel 
Php :: array to string php 
Php :: hide wordpress error 
Php :: In PackageManifest.php line 131: Undefined index: name laravel 7 
Php :: php select version ubuntu 
Php :: laravel pagination bootstrap 5 
Php :: laravel request all except token 
Php :: php server request method 
Php :: composer stripe 
Php :: how to create cookie in php 
Php :: ubuntu update php 7.4 to 8 
Php :: wordpress custom theme style.css 
Php :: get record of last 24 hours in laravel 
Php :: php form action self 
Php :: random color php 
Php :: formate date using carbon in laravel blade 
Php :: There is no existing directory at "/var/www/storage/logs" and it could not be created: Permission denied 
Php :: ip condition in php 
Php :: hide wordpress errors 
Php :: when image update laravel delete remove image 
Php :: how get file size in laravel 
Php :: check if session variable exists php 
Php :: add days to date with laravel 
Php :: insert php mysql 
Php :: with in relation laravel 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =