Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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!
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #title #case
ADD COMMENT
Topic
Name
1+8 =