Archive

Tag: get number of items in array php

  • Retrieve Total Number of Elements in an array php

    Sometimes you may need to know how many elements an array is containing. For example, you got result from a mysql query in an array. Now you want to show total number of results returned by the query. There’s a function in php called count() which can do it for you very easily. Use the…

    Read more ↗