Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

count() function in php

  1. #1

  2. #2
    New member
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

  3. #3
    New member
    Join Date
    May 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello Friends

    count() Function is use to count.
    Example:

    <?
    $cars=array("Volvo","BMW","Toyota");
    echo count($cars);
    ?>

    Output is 3 Because there are 3 value in one array.

    I hope it's help you. If you want some more information please tell me i hope i will help you.

    Thank you

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •