Originally Posted by sherlyk http://php.flashwebhost.com/sherly/world.php Code: <?php echo strlen ('Beautiful World'); Nice, you can directly pass string to strlen() function. Code: <?php $length = strlen ('Beautiful World'); echo $length; Here we store the number rrturned by strlen() function to variable $length. Then echo it.
<?php echo strlen ('Beautiful World');
<?php $length = strlen ('Beautiful World'); echo $length;
Become PHP Expert in 30 days FreeMarriage.com - Free Online Matrimonial FlashWebHost.com - Professional Web Hosting, Designing.
Forum Rules
Bookmarks