Liam Delahunty: Home Tips Web Contact
Recommended laptop
under £500
.

Think I deserve a present? See my Amazon Wish List

Conert Text to Title Case

This form outputs a titlecase version of the input string.

String:
Title:
 

function convertString($title){
	$title=htmlentities(strip_tags($title));
	$title=ucwords(strtolower($title));
	return $title;
}

Share this!