Re: [PHP] counting chars..

2004-12-15 Thread Jake Press
Hi Louie,
Excellent example! i wish more users would take the time to provide such 
clear examples.

The strlen() exists for you :)
ie.
?php
$string = function yes good;
$display = strlen($string);
echo $display;
?
:)
Best Regards
Jake Press
Louie Miranda wrote:
?php
$string = function yes good;
$display = count_chars($string);
echo $display;
?
i know this is wrong, but how can i count chars used here?
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] counting chars..

2004-12-15 Thread Robby Russell
On Thu, 2004-12-16 at 14:28 +0800, Louie Miranda wrote:
 ?php
 $string = function yes good;
 $display = count_chars($string);
 
 echo $display;
 ?
 
 i know this is wrong, but how can i count chars used here?

php.net/strlen ?

-Robby
-- 
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting  Development
*--- Now supporting PHP5 ---
/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] counting chars..

2004-12-15 Thread Louie Miranda
?php
$string = function yes good;
$display = count_chars($string);

echo $display;
?

i know this is wrong, but how can i count chars used here?

-- 
Louie Miranda
http://www.axishift.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php