InterviewSolution
Saved Bookmarks
| 1. |
How to get a total number of elements used in the array? |
|
Answer» We can use the COUNT() or SIZE() FUNCTION to get the number of elements or values in an array in PHP. Example$ELEMENT = array("sunday","monday","tuesday"); echo SIZEOF($element ); |
|