# of objects in array

Hello!

So can somebod tell me how can I get how many records do I have in array?
Automated… something like number of rows affected in MySQL…

Thanks!

[php]count($var);[/php]

http://us4.php.net/manual/en/function.count.php

simple and powerfull,

Thanks a lot!

Sponsor our Newsletter | Privacy Policy | Terms of Service