This script will display how many characters your string is.
<?php
/*****************
--Total Characters
--More PHP Scripts at
--http://icecaves.net/tags/php
*****************/
$text = "Put your text here and php will calculate how many characters your string is. Put a backslash before any double quotes you use.";
$total_characters = strlen($text);
echo "<b>String:</b> $text<br><b>Character Count:</b> $total_characters";
?>Code Preview:
String: Put your text here and php will calculate how many characters your string is. Put a backslash before any double quotes you use.
Character Count: 127
Character Count: 127
Forum Board:
