Counting Letters Using Php

RegisterLogin
Counting Letters Using Php
Post Description: Counting Letters Using Php
Tags: Counting, Letters, Using, Php
This Post Was Posted On Apr 24, 2008 By number #1370
do you have a script in php where i can use to count the number of letters in a string

for example i have a string called

$string = 'my name is webune';

as you can see, i have 18 characters in that string
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
Web Hosting Support
#1789 1
try this, copy and save this to webune.php and open it with your browser from your php website you will see how it works

<?
$string = "Webune Web Hosting";

$num_char=strlen($string);

echo $num_char;

?>
Apr 24, 2008 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 4:22 am
Powered by: Webune Forums V3