if i made an arry like $arry = arry("a","b","c","d","e");
how can i find this arry length is 5?
I don't know.
Seriously, you should check out the PHP manual. Because that was a dumb question.
-Surojit
First RTFM!!!!
http://www.php.net for online copy or download a copy for your own use!
Okay, quick answer (but still RTFM!)
$array_size = sizeof($array);
Kai
i thinked of a solution,and it works.
$length = 0; while($card1[$length]!="") $length += 1; echo $length;
thank you very much. may i ask u a question, are u thai?
can u tell me what is ur mean about RTFM? really want to know , and you tell me to download a copy , what copy it is ?
RTFM == Read the f* Manual
www.php.net has online copy of php documentation and downloadable (HTML and PDF format) php documentation.
Download a copy and unzip it into a php_doc dir to read.