Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

array array_keys(array data, string value)


The array_keys function returns an array of the keys used in the data array. If the
optional value argument is supplied, only the subset of indices that point the given
element value are returned.


<?
//create random test data with 0 or 1

Free download pdf